diff options
author | Tatyana Krasnukha <tatyana@synopsys.com> | 2019-11-11 20:36:55 +0300 |
---|---|---|
committer | Tatyana Krasnukha <tatyana@synopsys.com> | 2019-11-12 13:58:06 +0300 |
commit | 3130a88137ddc6ee277c4e896f235cf93d883dfa (patch) | |
tree | 8da8a779131f4d6df532b4da065c62b43a47dff0 /lldb/packages/Python/lldbsuite/test/commands/expression/macros | |
parent | 1ee93240c02b0fd505a539691d58565376f8acdf (diff) | |
download | bcm5719-llvm-3130a88137ddc6ee277c4e896f235cf93d883dfa.tar.gz bcm5719-llvm-3130a88137ddc6ee277c4e896f235cf93d883dfa.zip |
[lldb][test] Macros in expressions require DWARF 5
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression/macros')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile | 2 | ||||
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile b/lldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile index 59070728a5f..a7549f24ea7 100644 --- a/lldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile +++ b/lldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile @@ -1,6 +1,6 @@ CXX_SOURCES := main.cpp -DEBUG_INFO_FLAG = -g3 +DEBUG_INFO_FLAG = -g3 -gdwarf-5 include Makefile.rules diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py b/lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py index 817f6cb3944..26e4309605e 100644 --- a/lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py +++ b/lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py @@ -21,6 +21,9 @@ class TestMacros(TestBase): hostoslist=["windows"], compiler="gcc", triple='.*-android') + @expectedFailureAll( + compiler="gcc", compiler_version=['<', '5.1'], + bugnumber=".debug_macro was introduced in DWARF 5, GCC supports it since version 5.1") def test_expr_with_macros(self): self.build() |