[Lldb-commits] [lldb] ed07b30 - [lldb][test] Make hex prefix optional in DWARF union types test

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 25 02:23:56 PDT 2025


Author: David Spickett
Date: 2025-09-25T09:23:41Z
New Revision: ed07b3043d6a88ad90175eac1043ca23adcddd9f

URL: https://github.com/llvm/llvm-project/commit/ed07b3043d6a88ad90175eac1043ca23adcddd9f
DIFF: https://github.com/llvm/llvm-project/commit/ed07b3043d6a88ad90175eac1043ca23adcddd9f.diff

LOG: [lldb][test] Make hex prefix optional in DWARF union types test

Fixes #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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/SymbolFile/DWARF/union-types-no-member-location.yaml b/lldb/test/Shell/SymbolFile/DWARF/union-types-no-member-location.yaml
index ae27af130280e..fbdc626ed113f 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/union-types-no-member-location.yaml
+++ b/lldb/test/Shell/SymbolFile/DWARF/union-types-no-member-location.yaml
@@ -52,7 +52,7 @@
 # RUN: cat %t.stderr | FileCheck --allow-empty --check-prefix=STDERR %s
 
 # STDOUT: Found 1 types:
-# STDOUT: 0x{{[0-9a-fA-F]+}}: Type{0x0000002b} , name = "UnionType", size = 32, compiler_type = 0x{{[0-9a-fA-F]+}} union UnionType {
+# STDOUT: {{(0x)?[0-9a-fA-F]+}}: Type{0x0000002b} , name = "UnionType", size = 32, compiler_type = 0x{{[0-9a-fA-F]+}} union UnionType {
 
 # 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
 


        


More information about the lldb-commits mailing list