diff options
Diffstat (limited to 'lld/test/ELF/lto/thinlto-index-only.ll')
-rw-r--r-- | lld/test/ELF/lto/thinlto-index-only.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/test/ELF/lto/thinlto-index-only.ll b/lld/test/ELF/lto/thinlto-index-only.ll index be26f25fa0c..dba2fbc7782 100644 --- a/lld/test/ELF/lto/thinlto-index-only.ll +++ b/lld/test/ELF/lto/thinlto-index-only.ll @@ -5,10 +5,10 @@ ; RUN: llvm-as %s -o %t1.o ; RUN: llvm-as %p/Inputs/thinlto.ll -o %t2.o ; RUN: rm -f %t3 -; RUN: ld.lld -m elf_x86_64 --plugin-opt=thinlto-index-only -shared %t1.o %t2.o -o %t3 +; RUN: ld.lld --plugin-opt=thinlto-index-only -shared %t1.o %t2.o -o %t3 ; RUN: ls %t2.o.thinlto.bc ; RUN: not test -e %t3 -; RUN: ld.lld -m elf_x86_64 -shared %t1.o %t2.o -o %t3 +; RUN: ld.lld -shared %t1.o %t2.o -o %t3 ; RUN: llvm-nm %t3 | FileCheck %s --check-prefix=NM ; Basic ThinLTO tests. @@ -18,14 +18,14 @@ ; Ensure lld generates an index and not a binary if requested. ; RUN: rm -f %t4 -; RUN: ld.lld -m elf_x86_64 --plugin-opt=thinlto-index-only -shared %t1.o %t2.o -o %t4 +; RUN: ld.lld --plugin-opt=thinlto-index-only -shared %t1.o %t2.o -o %t4 ; RUN: llvm-bcanalyzer -dump %t1.o.thinlto.bc | FileCheck %s --check-prefix=BACKEND1 ; RUN: llvm-bcanalyzer -dump %t2.o.thinlto.bc | FileCheck %s --check-prefix=BACKEND2 ; RUN: not test -e %t4 ; Ensure lld generates an index even if the file is wrapped in --start-lib/--end-lib ; RUN: rm -f %t2.o.thinlto.bc %t4 -; RUN: ld.lld -m elf_x86_64 --plugin-opt=thinlto-index-only -shared %t1.o %t3.o --start-lib %t2.o --end-lib -o %t4 +; RUN: ld.lld --plugin-opt=thinlto-index-only -shared %t1.o %t3.o --start-lib %t2.o --end-lib -o %t4 ; RUN: ls %t2.o.thinlto.bc ; RUN: not test -e %t4 |