[Lldb-commits] [lldb] [lldb] Unwind through ARM Cortex-M exceptions automatically (PR #153922)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 26 07:03:01 PDT 2025
================
@@ -0,0 +1,51 @@
+"""
+Test that we can backtrace up an ARM Cortex-M Exception return stack
+"""
+
+import lldb
+import json
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class TestCortexMExceptionUnwind(TestBase):
+ NO_DEBUG_INFO_TESTCASE = True
+
+ def test_no_fpu(self):
+ """Test that we can backtrace correctly through an ARM Cortex-M Exception return stack"""
+
+ target = self.dbg.CreateTarget("")
+ exe = "binary.json"
----------------
DavidSpickett wrote:
Feels like this should be some `getbuilddir() + binary.json`. So it doesn't end up in a random place.
https://github.com/llvm/llvm-project/pull/153922
More information about the lldb-commits
mailing list