We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a328771 commit ac5f567Copy full SHA for ac5f567
lld/test/COFF/common-dedup.ll
@@ -1,9 +1,10 @@
1
; REQUIRES: x86
2
+; RUN: rm -rf %t.dir
3
; RUN: split-file %s %t.dir
-; RUN: llc %t.dir/t1.ll -o %t.t1.obj --filetype=obj
4
-; RUN: llc %t.dir/t2.ll -o %t.t2.obj --filetype=obj
5
-; RUN: lld-link %t.t1.obj %t.t2.obj -entry:main -out:%t.exe
6
-; RUN: llvm-readobj --section-headers %t.exe | FileCheck %s
+; RUN: llc %t.dir/t1.ll -o %t.dir/t1.obj --filetype=obj
+; RUN: llc %t.dir/t2.ll -o %t.dir/t2.obj --filetype=obj
+; RUN: lld-link %t.dir/t1.obj %t.dir/t2.obj -entry:main -out:%t.dir/out.exe
7
+; RUN: llvm-readobj --section-headers %t.dir/out.exe | FileCheck %s
8
9
; Make sure that the data section contains just one copy of @a, not two.
10
; CHECK: Name: .data
0 commit comments