This patch adds system exception handling in lldb-mi + tests.
All tests pass on OS X.
Paths
| Differential D7500
Fix segfault notification in lldb-mi ClosedPublic Authored by ki.stfu on Feb 9 2015, 6:23 AM.
Details Summary This patch adds system exception handling in lldb-mi + tests. All tests pass on OS X.
Diff Detail Event Timelineki.stfu updated this object. Comment Actions Is this a known stop reason "exception-received" for MI. I had a quick look but could not find it. Code looks ok to me. But I have to yet run and make sure that it passes on Linux. As I noted yesterday in few other tests, output can be a little bit different which can cause the test to fail. clayborg edited edge metadata. Comment ActionsMake a test case that access violates and remove code from the MI driver in main.c
Comment Actions
I think we can set the reason to "exception-raised", if it's better. Comment Actions
This case checks lldb-mi functionality. Why would you want to remove it from here?
emaste added inline comments. clayborg edited edge metadata. Comment ActionsNever mind, as Ed said, I thought this was in the MI driver binary. It actually is in a test case binary... This revision is now accepted and ready to land.Feb 10 2015, 9:40 AM
Revision Contents
Diff 19577 test/tools/lldb-mi/TestMiNotification.py
test/tools/lldb-mi/main.c
tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.h
tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp
|
This should go into a test case binary, probably doesn't belong in the actual MI driver.