Skip to content

Commit 2afad4b

Browse files
DavidSpickettmahesh-attarde
authored andcommitted
[lldb][test] Make hex prefix optional in DWARF union types test
Fixes llvm#159401 On Windows there is no hex prefix, I suspect because somewhere we print a pointer. I'd prefer to fix that itself but can't get to a Windows machine at the moment. It's not important to the purpose of the test anyway.
1 parent 608e733 commit 2afad4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/Shell/SymbolFile/DWARF/union-types-no-member-location.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
# RUN: cat %t.stderr | FileCheck --allow-empty --check-prefix=STDERR %s
5353

5454
# STDOUT: Found 1 types:
55-
# STDOUT: 0x{{[0-9a-fA-F]+}}: Type{0x0000002b} , name = "UnionType", size = 32, compiler_type = 0x{{[0-9a-fA-F]+}} union UnionType {
55+
# STDOUT: {{(0x)?[0-9a-fA-F]+}}: Type{0x0000002b} , name = "UnionType", size = 32, compiler_type = 0x{{[0-9a-fA-F]+}} union UnionType {
5656

5757
# STDERR-NOT: error: union-types-no-member-location.yaml.tmp 0x00000031: DW_TAG_member 'array' refers to type 0x000000000000001f which extends beyond the bounds of 0x0000002b
5858

0 commit comments

Comments
 (0)