jankratochvil updated this revision to Diff 250903. jankratochvil added a comment.
With the former patch these both skeleton files: tools/lldb/test/SymbolFile/DWARF/Output/debug-types-expressions.test.tmp4dwo tools/lldb/test/SymbolFile/DWARF/Output/debug-types-expressions.test.tmp5dwo were referencing to this one non-skeleton file: tools/lldb/test/SymbolFile/DWARF/debug-types-expressions.dwo Surprisingly it does not affect the other test `debug-types-basic.test` probably because it compiles to `.o` and then links it. While `debug-types-expressions.test` compiles directly to an executable. So fixed that while keeping the direct executable compilation. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D76316/new/ https://reviews.llvm.org/D76316 Files: lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test lldb/test/Shell/SymbolFile/DWARF/debug-types-expressions.test Index: lldb/test/Shell/SymbolFile/DWARF/debug-types-expressions.test =================================================================== --- lldb/test/Shell/SymbolFile/DWARF/debug-types-expressions.test +++ lldb/test/Shell/SymbolFile/DWARF/debug-types-expressions.test @@ -12,12 +12,16 @@ # Test type units in dwo files. # RUN: %clangxx_host %S/Inputs/debug-types-expressions.cpp \ -# RUN: -g -gdwarf-4 -fdebug-types-section -o %t4dwo +# RUN: -g -gdwarf-4 -fdebug-types-section -gsplit-dwarf -o %t4dwo \ +# RUN: -Xclang -split-dwarf-output -Xclang %t4dwo.dwo \ +# RUN: -Xclang -split-dwarf-file -Xclang %t4dwo.dwo # RUN: %lldb %t4dwo -s %s -o exit | FileCheck %s # And type units+dwo+dwarf5. # RUN: %clangxx_host %S/Inputs/debug-types-expressions.cpp \ -# RUN: -g -gdwarf-5 -fdebug-types-section -o %t5dwo +# RUN: -g -gdwarf-5 -fdebug-types-section -gsplit-dwarf -o %t5dwo \ +# RUN: -Xclang -split-dwarf-output -Xclang %t5dwo.dwo \ +# RUN: -Xclang -split-dwarf-file -Xclang %t5dwo.dwo # RUN: %lldb %t5dwo -s %s -o exit | FileCheck %s breakpoint set -n foo Index: lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test =================================================================== --- lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test +++ lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test @@ -20,7 +20,7 @@ # And type units+dwo+dwarf5. # RUN: %clangxx -target x86_64-pc-linux %S/Inputs/debug-types-basic.cpp \ -# RUN: -g -gdwarf-5 -fdebug-types-section -c -o %t5dwo.o +# RUN: -g -gdwarf-5 -fdebug-types-section -gsplit-dwarf -c -o %t5dwo.o # RUN: ld.lld %t5dwo.o -o %t5dwo # RUN: %lldb %t5dwo -s %s -o exit | FileCheck %s
Index: lldb/test/Shell/SymbolFile/DWARF/debug-types-expressions.test =================================================================== --- lldb/test/Shell/SymbolFile/DWARF/debug-types-expressions.test +++ lldb/test/Shell/SymbolFile/DWARF/debug-types-expressions.test @@ -12,12 +12,16 @@ # Test type units in dwo files. # RUN: %clangxx_host %S/Inputs/debug-types-expressions.cpp \ -# RUN: -g -gdwarf-4 -fdebug-types-section -o %t4dwo +# RUN: -g -gdwarf-4 -fdebug-types-section -gsplit-dwarf -o %t4dwo \ +# RUN: -Xclang -split-dwarf-output -Xclang %t4dwo.dwo \ +# RUN: -Xclang -split-dwarf-file -Xclang %t4dwo.dwo # RUN: %lldb %t4dwo -s %s -o exit | FileCheck %s # And type units+dwo+dwarf5. # RUN: %clangxx_host %S/Inputs/debug-types-expressions.cpp \ -# RUN: -g -gdwarf-5 -fdebug-types-section -o %t5dwo +# RUN: -g -gdwarf-5 -fdebug-types-section -gsplit-dwarf -o %t5dwo \ +# RUN: -Xclang -split-dwarf-output -Xclang %t5dwo.dwo \ +# RUN: -Xclang -split-dwarf-file -Xclang %t5dwo.dwo # RUN: %lldb %t5dwo -s %s -o exit | FileCheck %s breakpoint set -n foo Index: lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test =================================================================== --- lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test +++ lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test @@ -20,7 +20,7 @@ # And type units+dwo+dwarf5. # RUN: %clangxx -target x86_64-pc-linux %S/Inputs/debug-types-basic.cpp \ -# RUN: -g -gdwarf-5 -fdebug-types-section -c -o %t5dwo.o +# RUN: -g -gdwarf-5 -fdebug-types-section -gsplit-dwarf -c -o %t5dwo.o # RUN: ld.lld %t5dwo.o -o %t5dwo # RUN: %lldb %t5dwo -s %s -o exit | FileCheck %s
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits