Skip to content

Commit 3130a88

Browse files
committed
[lldb][test] Macros in expressions require DWARF 5
1 parent 1ee9324 commit 3130a88

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CXX_SOURCES := main.cpp
22

3-
DEBUG_INFO_FLAG = -g3
3+
DEBUG_INFO_FLAG = -g3 -gdwarf-5
44

55

66
include Makefile.rules

lldb/packages/Python/lldbsuite/test/commands/expression/macros/TestMacros.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ class TestMacros(TestBase):
2121
hostoslist=["windows"],
2222
compiler="gcc",
2323
triple='.*-android')
24+
@expectedFailureAll(
25+
compiler="gcc", compiler_version=['<', '5.1'],
26+
bugnumber=".debug_macro was introduced in DWARF 5, GCC supports it since version 5.1")
2427
def test_expr_with_macros(self):
2528
self.build()
2629

0 commit comments

Comments
 (0)