[Lldb-commits] [PATCH] D76316: [lldb] [testsuite] Enable forgotten -gsplit-dwarf for 2 testfiles
Jan Kratochvil via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 17 14:35:28 PDT 2020
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76316.250903.patch
Type: text/x-patch
Size: 1685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200317/3a61e835/attachment.bin>
More information about the lldb-commits
mailing list