[Lldb-commits] [lldb] r305062 - Skip TestNoreturnUnwind on linux+clang+arm

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 9 01:34:00 PDT 2017


Author: labath
Date: Fri Jun  9 03:33:59 2017
New Revision: 305062

URL: http://llvm.org/viewvc/llvm-project?rev=305062&view=rev
Log:
Skip TestNoreturnUnwind on linux+clang+arm

I was over-eager to unable this test in r304976. It still fails in this
combination, at there does not seem to be anything we can do about it,
as the generated code does not preserve the link register.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py?rev=305062&r1=305061&r2=305062&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py Fri Jun  9 03:33:59 2017
@@ -17,6 +17,8 @@ class NoreturnUnwind(TestBase):
     mydir = TestBase.compute_mydir(__file__)
 
     @skipIfWindows  # clang-cl does not support gcc style attributes.
+    # clang does not preserve LR in noreturn functions, making unwinding impossible
+    @skipIf(compiler="clang", archs=['arm'], oslist=['linux'])
     def test(self):
         """Test that we can backtrace correctly with 'noreturn' functions on the stack"""
         self.build()




More information about the lldb-commits mailing list