Go to file
Ilia K d3da77e84e Add -s/--source option support (MI)
Summary:
This patch adds -s/--source option to execute source file with prepared command.
For example:
```
$ cat start_script 
target create ~/p/hello
process launch -s
continue
$ bin/lldb-mi -s start_script 
(gdb)
target create ~/p/hello
Current executable set to '~/p/hello' (x86_64).
^done
(gdb)
process launch -s
=shlibs-added,shlib-info=[num="1",name="hello",dyld-addr="-",reason="dyld",path="/Users/IliaK/p/hello",loaded_addr="-",dsym-objpath="/Users/IliaK/p/hello.dSYM/Contents/Resources/DWARF/hello"]
Process 33289 launched: '/Users/IliaK/p/hello' (x86_64)
^done
(gdb)
continue
=thread-created,id="1",group-id="i1"
=thread-selected,id="1"
(gdb)
Process 33289 resuming
Process 33289 exited with status = 0 (0x00000000) 
^done
```

Test Plan: ./dotest.py -v --executable $BUILDDIR/bin/lldb tools/lldb-mi/

Reviewers: abidh

Reviewed By: abidh

Subscribers: lldb-commits, abidh

Differential Revision: http://reviews.llvm.org/D9278

llvm-svn: 236703
2015-05-07 06:51:46 +00:00
clang Fix for http://llvm.org/PR23392: magick/feature.c from ImageMagick-6.9.1-2 ICEs. 2015-05-07 06:28:46 +00:00
clang-tools-extra Changed option processing to implicitly use -x c++ if no other -x option specified. Added implicit -w option to disable compilation warnings, in particular to avoid warning on pragma once. 2015-05-06 18:43:01 +00:00
compiler-rt Add dfsan_weak_hook_memcmp 2015-05-07 00:04:39 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc r600: Use __clc_ldexp on asics that don't implement the intruction 2015-05-06 21:59:30 +00:00
libcxx Replace two naked references of 'std::' with the macro '_VSTD::'. No functionality change. 2015-05-06 12:11:22 +00:00
libcxxabi Disallow conversions from function pointers to void*. 2015-05-01 01:49:37 +00:00
libunwind Fix libunwind to build on FreeBSD 2015-05-06 10:32:28 +00:00
lld [Mips] Add more checkings to the test 2015-05-02 21:03:00 +00:00
lldb Add -s/--source option support (MI) 2015-05-07 06:51:46 +00:00
llgo [llgo] add buildbot-slave config 2015-04-08 01:41:46 +00:00
llvm Update InstCombine to transform aggregate loads into scalar loads. 2015-05-07 05:52:40 +00:00
openmp D7631: added regression tests for hinted locks - to be integrated into testsuite. 2015-05-06 19:40:54 +00:00
polly [cmake] Remove two unused include paths 2015-05-06 12:28:23 +00:00