[Lldb-commits] [lldb] 8d29a3b - [lldb][API test] TestCortexMExceptionUnwind needs ARM llvm target

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 13 10:33:11 PDT 2025


Author: Jason Molenda
Date: 2025-10-13T10:32:41-07:00
New Revision: 8d29a3bb6f3d92d65bf5811b53bf42bf63685359

URL: https://github.com/llvm/llvm-project/commit/8d29a3bb6f3d92d65bf5811b53bf42bf63685359
DIFF: https://github.com/llvm/llvm-project/commit/8d29a3bb6f3d92d65bf5811b53bf42bf63685359.diff

LOG: [lldb][API test] TestCortexMExceptionUnwind needs ARM llvm target

Finally figured out the issue with TestCortexMExceptionUnwind.py
failing on some CI.  When the llvm is configured without the ARM
target enabled, the ARM ABI plugins will not be initialized in lldb,
and the unwind engine won't backtrace more than one stack frame.
This test requires that the ARM target be enabled in the llvm cmake.
Update the decorator to specify that; should be the end of these
mysterious fails.

Added: 
    

Modified: 
    lldb/test/API/functionalities/unwind/cortex-m-exception/TestCortexMExceptionUnwind.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/unwind/cortex-m-exception/TestCortexMExceptionUnwind.py b/lldb/test/API/functionalities/unwind/cortex-m-exception/TestCortexMExceptionUnwind.py
index 10cbd26328f4d..fc7bfe43e2051 100644
--- a/lldb/test/API/functionalities/unwind/cortex-m-exception/TestCortexMExceptionUnwind.py
+++ b/lldb/test/API/functionalities/unwind/cortex-m-exception/TestCortexMExceptionUnwind.py
@@ -12,7 +12,7 @@
 class TestCortexMExceptionUnwind(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
-    @skipIfRemote
+    @skipIfLLVMTargetMissing("ARM")
     def test_no_fpu(self):
         """Test that we can backtrace correctly through an ARM Cortex-M Exception return stack"""
 


        


More information about the lldb-commits mailing list