[Lldb-commits] [lldb] [lldb] Don't trust unwind information for outlined functions (PR #204500)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 18 01:59:11 PDT 2026


================
@@ -0,0 +1,54 @@
+"""
+Test that we can backtrace through an OUTLINED_FUNCTION which is called in a non-ABI way.
+"""
+
+import lldb
+import json
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class TestBacktraceThroughOutlinedFunction(TestBase):
+    NO_DEBUG_INFO_TESTCASE = True
+
+    @skipIfLLVMTargetMissing("AArch64")
+    def test_backtrace_through_outlined_epilogue(self):
+        """Test that we can backtrace through an OUTLINED_FUNCTION that has the epilogue of a function."""
----------------
DavidSpickett wrote:

You have prologue, body, epilogue outlined functions but you only backtrace from the epilogue. Which I don't think has to go via the others.

Am I wrong or did you only need the others to set up the epilogue somehow?

https://github.com/llvm/llvm-project/pull/204500


More information about the lldb-commits mailing list