diff options
author | Ilia K <ki.stfu@gmail.com> | 2015-03-19 17:13:20 +0000 |
---|---|---|
committer | Ilia K <ki.stfu@gmail.com> | 2015-03-19 17:13:20 +0000 |
commit | 641f027d82b2973a081333e9f59cc027e732cedd (patch) | |
tree | 720ad31877a002f714b0941fdcfc86f8ed16ab3f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8fa8e5fc74c604092707f35eb50859cdc886ae41 (diff) | |
download | bcm5719-llvm-641f027d82b2973a081333e9f59cc027e732cedd.tar.gz bcm5719-llvm-641f027d82b2973a081333e9f59cc027e732cedd.zip |
Fix -break-insert for system functions (MI)
Summary:
# Fix -break-insert for system functions
# Fix MiExecTestCase to use -break-insert instead of CLI "b"
# Improve MiBreakTestCase: now it uses printf() instead of in-house function
All tests pass on OS X.
Test Plan:
```
$ bin/lldb-mi --interpreter
(gdb)
-file-exec-and-symbols ~/p/hello
^done
(gdb)
=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"]
-break-insert -f printf
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0xffffffff",func="??",file="??",fullname="??/??",line="0",pending=["printf"],times="0",original-location="printf"}
(gdb)
=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0xffffffff",func="??",file="??",fullname="??/??",line="0",pending=["printf"],times="0",original-location="printf"}
-exec-run
^running
...
*stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={addr="0x7fff8a476910",func="printf",args=[],file="??",fullname="??",line="-1"},thread-id="1",stopped-threads="all"
(gdb)
```
Reviewers: abidh, clayborg
Reviewed By: clayborg
Subscribers: lldb-commits, clayborg, abidh
Differential Revision: http://reviews.llvm.org/D8412
llvm-svn: 232734
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions