[Lldb-commits] [lldb] bb7c8e9 - Mark PR44037 tests as XFAIL on AArch64 Linux dwo
Diana Picus via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 19 01:49:26 PST 2019
Author: Diana Picus
Date: 2019-11-19T10:49:00+01:00
New Revision: bb7c8e984f87e1de7c80abd33d00025ac366efa6
URL: https://github.com/llvm/llvm-project/commit/bb7c8e984f87e1de7c80abd33d00025ac366efa6
DIFF: https://github.com/llvm/llvm-project/commit/bb7c8e984f87e1de7c80abd33d00025ac366efa6.diff
LOG: Mark PR44037 tests as XFAIL on AArch64 Linux dwo
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.
Differential Revision: https://reviews.llvm.org/D70381
Added:
Modified:
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
Removed:
################################################################################
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
index 052b125143f2..1dc12e94eaf6 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
@@ -16,17 +16,26 @@ class BreakpointLocationsTestCase(TestBase):
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()
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py b/lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py
index 311c5ec8e120..1e829901cf11 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/c/inlines/TestRedefinitionsInInlines.py
+++ b/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")])
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
index c07acf9c540d..ac964a35fecb 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/member-and-local-vars-with-same-name/TestMembersAndLocalsWithSameName.py
@@ -1,4 +1,5 @@
import lldb
+from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
@@ -7,6 +8,9 @@ class TestMembersAndLocalsWithSameName(TestBase):
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 +113,9 @@ def test_when_stopped_in_method(self):
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()
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py b/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
index da4e9cb06e7b..1fdd477e22e1 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
@@ -26,6 +26,9 @@ def setUp(self):
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()
More information about the lldb-commits
mailing list