My prevous commit to RegisterContextLLDB is causing a test fail
authorJason Molenda <jmolenda@apple.com>
Tue, 25 Feb 2020 01:18:08 +0000 (17:18 -0800)
committerJason Molenda <jmolenda@apple.com>
Tue, 25 Feb 2020 01:19:06 +0000 (17:19 -0800)
on aarch64-ubuntu - collect a little information about what
is happening on this target before I revert my change; I don't
have access to this target.

lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py

index 5f3eb31..2a3e4e5 100644 (file)
@@ -55,6 +55,9 @@ class HandleAbortTestCase(TestBase):
         # Expect breakpoint in 'handler'
         frame = thread.GetFrameAtIndex(0)
         self.assertEqual(frame.GetDisplayFunctionName(), "handler", "Unexpected break?")
+        
+        self.runCmd("log enable lldb unwind")
+        self.runCmd("bt")
 
         # Expect that unwinding should find 'abort_caller'
         foundFoo = False
@@ -62,6 +65,7 @@ class HandleAbortTestCase(TestBase):
             if frame.GetDisplayFunctionName() == "abort_caller":
                 foundFoo = True
 
+        self.runCmd("log disable lldb unwind")
         self.assertTrue(foundFoo, "Unwinding did not find func that called abort")
 
         # Continue until we exit.