Skip to content

Commit c97e5ad

Browse files
committed
[lldb][test] Disable TestSBValueUnsignedEnumBitField.py for old DWARF versions
With older DWARF versions we don't encode the enum's underlying type in DWARF. In those cases LLDB sign-extends the bitfield as a signed integer. Without the actual enum type being present in DWARF there's not much we can do. Differential Revision: https://reviews.llvm.org/D134734
1 parent d1baed7 commit c97e5ad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/test/API/python_api/sbvalue_unsigned_enum_bitfield_value/TestSBValueUnsignedEnumBitField.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@
1414
"""
1515

1616
import lldbsuite.test.lldbinline as lldbinline
17+
from lldbsuite.test.decorators import *
1718

18-
lldbinline.MakeInlineTest(__file__, globals())
19+
lldbinline.MakeInlineTest(__file__, globals(),
20+
[skipIf(dwarf_version=['<', '3'])])

0 commit comments

Comments
 (0)