File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
lldb/test/Shell/SymbolFile/DWARF/x86 Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 44// REQUIRES: lld
55
66// Test against logging to see if we print the fully qualified names correctly.
7- // RUN: %clangxx --target=x86_64-pc-linux -g -gsimple-template-names %s -o %t
8- // RUN: %lldb %t -o "log enable dwarf comp" -o "target variable v3" -o exit | FileCheck %s --check-prefix=LOG
7+ // RUN: %clangxx --target=x86_64-pc-linux -g -gsimple-template-names %s -c -o %t1.o
8+ // RUN: ld.lld %t1.o -o %t1
9+ // RUN: %lldb %t1 -o "log enable dwarf comp" -o "target variable v3" -o exit | FileCheck %s --check-prefix=LOG
910
1011// Test that we following DW_AT_signature correctly. If not, lldb might confuse the types of v1 and v2.
11- // RUN: %clangxx --target=x86_64-pc-linux -g -gsimple-template-names -fdebug-types-section %s -o %t
12- // RUN: %lldb %t -o "target variable v1 v2" -o exit | FileCheck %s --check-prefix=TYPE
12+ // RUN: %clangxx --target=x86_64-pc-linux -g -gsimple-template-names -fdebug-types-section %s -c -o %t2.o
13+ // RUN: ld.lld %t2.o -o %t2
14+ // RUN: %lldb %t2 -o "target variable v1 v2" -o exit | FileCheck %s --check-prefix=TYPE
1315
1416// LOG: unique name: t3<t2<int> >::t4
1517
@@ -32,5 +34,3 @@ template <typename> struct t3 {
3234 struct t4 {};
3335};
3436t3<t2<int >>::t4 v3;
35-
36- int main () {}
You can’t perform that action at this time.
0 commit comments