Skip to content

Commit 28b196e

Browse files
committed
[llvm] Write temporary test files into %t
... instead of the source tree
1 parent 36b4b9d commit 28b196e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lld/test/ELF/lto/libcall-archive.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
; RUN: llvm-as -o %t2.o %S/Inputs/libcall-archive.ll
55
; RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux -o %t3.o %S/Inputs/libcall-archive.s
66
; RUN: llvm-ar rcs %t.a %t2.o %t3.o
7-
; RUN: ld.lld --why-extract=why.txt -o %t %t.o %t.a
8-
; RUN: FileCheck %s --input-file=why.txt --check-prefix=CHECK-WHY
7+
; RUN: ld.lld --why-extract=%t.why.txt -o %t %t.o %t.a
8+
; RUN: FileCheck %s --input-file=%t.why.txt --check-prefix=CHECK-WHY
99
; RUN: llvm-nm %t | FileCheck %s
1010
; RUN: ld.lld -o %t2 %t.o --start-lib %t2.o %t3.o --end-lib
1111
; RUN: llvm-nm %t2 | FileCheck %s

0 commit comments

Comments
 (0)