Author: Michael Buch
Date: 2026-02-20T14:44:47Z
New Revision: e9c658fd218d2207a7a8cf7023bc9d59c1b1bf1b

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

LOG: [lldb][test] delayed-definition-die-searching.test: compile without simple 
template names

Fails on Darwin after we made `-gsimple-template-names` the default (in 
https://github.com/llvm/llvm-project/pull/182297):
```
13:42:19  | # CHECK: 
DWARFASTParserClang::ParseTypeFromDWARF{{.*}}DW_TAG_structure_type 
(DW_TAG_structure_type) name = 't2<t1>'
13:42:19  |          ^
13:42:19  | <stdin>:9:12: note: scanning from here
13:42:19  | (lldb) p v1
13:42:19  |            ^
13:42:19  | <stdin>:10:278: note: possible intended match here
13:42:19  |  (arm64) 
/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake-os-verficiation/lldb-build/tools/lldb/test/Shell/SymbolFile/DWARF/Output/delayed-definition-die-searching.test.tmp.out:
 DWARFASTParserClang::ParseTypeFromDWARF (die = 0x0000000000000037, decl_ctx = 
0x0000000B723D2030 (die 0x000000000000000c)) DW_TAG_structure_type 
(DW_TAG_structure_type) name = 't2')
13:42:19  |
```

This just checks the delayed definition search. It used to always run without 
`-gsimple-template-names`, so we're not losing coverage here. Also the failure 
is expected with `-gsimple-template-names` because the DIE name no longer 
include template parameters. I didn't want to make the `CHECK` less strict 
because it useful to check that the types being resolved are the correct 
instantiations.

Added: 
    

Modified: 
    lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test

Removed: 
    


################################################################################
diff  --git 
a/lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test 
b/lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test
index d253981b498c8..2972d04cf36db 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test
+++ b/lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test
@@ -3,7 +3,7 @@
 # UNSUPPORTED: system-windows
 
 # RUN: split-file %s %t
-# RUN: %clangxx_host %t/main.cpp %t/t1_def.cpp -gdwarf -o %t.out
+# RUN: %clangxx_host %t/main.cpp %t/t1_def.cpp -gdwarf 
-gno-simple-template-names -o %t.out
 # RUN: %lldb -b %t.out -s %t/lldb.cmd | FileCheck %s
 
 # CHECK: (lldb) p v1


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to