[Lldb-commits] [lldb] 082f1a3 - My prevous commit to RegisterContextLLDB is causing a test fail

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 24 17:19:14 PST 2020


Author: Jason Molenda
Date: 2020-02-24T17:19:06-08:00
New Revision: 082f1a3b15999c803265fabcb555ad253a00d477

URL: https://github.com/llvm/llvm-project/commit/082f1a3b15999c803265fabcb555ad253a00d477
DIFF: https://github.com/llvm/llvm-project/commit/082f1a3b15999c803265fabcb555ad253a00d477.diff

LOG: My prevous commit to RegisterContextLLDB is causing a test fail
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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py b/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py
index 5f3eb31c83ae..2a3e4e590a31 100644
--- a/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py
+++ b/lldb/test/API/functionalities/signal/handle-abrt/TestHandleAbort.py
@@ -55,6 +55,9 @@ def test_inferior_handle_sigabrt(self):
         # 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 @@ def test_inferior_handle_sigabrt(self):
             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.


        


More information about the lldb-commits mailing list