[Lldb-commits] [PATCH] D70381: Mark PR44037 tests as XFAIL on AArch64 Linux dwo

Diana Picus via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 18 02:56:19 PST 2019


rovka created this revision.
rovka added reviewers: omjavaid, aprantl, labath.
Herald added a subscriber: kristof.beyls.

These tests are failing with various assertion failures, but they all
throw the following error message first:

error: a.out 0x0000002d: adding range [0x14-0x24) which has a base that
is less than the function's low PC 0x40060c.

See llvm.org/pr44037.


https://reviews.llvm.org/D70381

Files:
  lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
  lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py
  lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
  lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py


Index: lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
+++ lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
@@ -26,6 +26,9 @@
             self.source, '// This should correspond to the second break stop.')
 
     @add_test_categories(['pyapi'])
+    @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+                        debug_info=["dwo"],
+                        bugnumber="llvm.org/pr44037")
     def test_stop_at_outer_inline(self):
         """Exercise SBFrame.IsInlined() and SBFrame.GetFunctionName()."""
         self.build()
Index: lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
+++ lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
@@ -7,6 +7,9 @@
 
     mydir = TestBase.compute_mydir(__file__)
 
+    @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+                        debug_info=["dwo"],
+                        bugnumber="llvm.org/pr44037")
     def test_when_stopped_in_method(self):
         self._load_exe()
 
@@ -109,6 +112,9 @@
         self.assertTrue(val.IsValid())
         self.assertEqual(val.GetValueAsUnsigned(), 778899)
 
+    @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+                        debug_info=["dwo"],
+                        bugnumber="llvm.org/pr44037")
     def test_when_stopped_in_function(self):
         self._load_exe()
 
Index: lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py
+++ lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py
@@ -6,4 +6,8 @@
                           [decorators.expectedFailureAll(compiler="clang",
                                                          compiler_version=["<",
                                                                            "3.5"],
-                                                         bugnumber="llvm.org/pr27845")])
+                                                         bugnumber="llvm.org/pr27845"),
+                           decorators.expectedFailureAll(archs="aarch64",
+                                                         oslist="linux",
+                                                         debug_info="dwo",
+                                                         bugnumber="llvm.org/pr44037"])
Index: lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
+++ lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
@@ -16,17 +16,26 @@
     mydir = TestBase.compute_mydir(__file__)
 
     @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24528")
+    @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+                        debug_info=["dwo"],
+                        bugnumber="llvm.org/pr44037")
     def test_enable(self):
         """Test breakpoint enable/disable for a breakpoint ID with multiple locations."""
         self.build()
         self.breakpoint_locations_test()
 
+    @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+                        debug_info=["dwo"],
+                        bugnumber="llvm.org/pr44037")
     def test_shadowed_cond_options(self):
         """Test that options set on the breakpoint and location behave correctly."""
         self.build()
         self.shadowed_bkpt_cond_test()
 
 
+    @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
+                        debug_info=["dwo"],
+                        bugnumber="llvm.org/pr44037")
     def test_shadowed_command_options(self):
         """Test that options set on the breakpoint and location behave correctly."""
         self.build()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70381.229781.patch
Type: text/x-patch
Size: 4515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191118/4835da86/attachment.bin>


More information about the lldb-commits mailing list