summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression/macros
diff options
context:
space:
mode:
authorTatyana Krasnukha <tatyana@synopsys.com>2019-11-11 20:36:55 +0300
committerTatyana Krasnukha <tatyana@synopsys.com>2019-11-12 13:58:06 +0300
commit3130a88137ddc6ee277c4e896f235cf93d883dfa (patch)
tree8da8a779131f4d6df532b4da065c62b43a47dff0 /lldb/packages/Python/lldbsuite/test/commands/expression/macros
parent1ee93240c02b0fd505a539691d58565376f8acdf (diff)
downloadbcm5719-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/Makefile2
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py3
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()
OpenPOWER on IntegriCloud