diff options
author | Eugene Leviant <eleviant@accesssoftek.com> | 2017-12-14 15:59:05 +0000 |
---|---|---|
committer | Eugene Leviant <eleviant@accesssoftek.com> | 2017-12-14 15:59:05 +0000 |
commit | 3efcfadde4cebf768f56b22a432185eb9502ea41 (patch) | |
tree | e09b8cf4970b23b32ff747a2002ade6b963c80ac | |
parent | 2faf8e127f314d1beeadff277ba6f95eeee951d0 (diff) | |
download | bcm5719-llvm-3efcfadde4cebf768f56b22a432185eb9502ea41.tar.gz bcm5719-llvm-3efcfadde4cebf768f56b22a432185eb9502ea41.zip |
[LLVMgold] Use platform dependent extension in tests
Differential revision: https://reviews.llvm.org/D41238
llvm-svn: 320710
68 files changed, 104 insertions, 104 deletions
diff --git a/llvm/test/tools/gold/PowerPC/mtriple.ll b/llvm/test/tools/gold/PowerPC/mtriple.ll index ed7fd485cc9..e2bfa254234 100644 --- a/llvm/test/tools/gold/PowerPC/mtriple.ll +++ b/llvm/test/tools/gold/PowerPC/mtriple.ll @@ -1,7 +1,7 @@ ; REQUIRES: ld_emu_elf32ppc ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -m elf32ppc \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -m elf32ppc \ ; RUN: -plugin-opt=mtriple=powerpc-linux-gnu \ ; RUN: -plugin-opt=obj-path=%t3.o \ ; RUN: -shared %t.o -o %t2 diff --git a/llvm/test/tools/gold/X86/alias.ll b/llvm/test/tools/gold/X86/alias.ll index 98333422303..0730ce8b12a 100644 --- a/llvm/test/tools/gold/X86/alias.ll +++ b/llvm/test/tools/gold/X86/alias.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %p/Inputs/alias-1.ll -o %t2.o -; RUN: %gold -shared -o %t3.o -plugin %llvmshlibdir/LLVMgold.so %t2.o %t.o \ +; RUN: %gold -shared -o %t3.o -plugin %llvmshlibdir/LLVMgold%shlibext %t2.o %t.o \ ; RUN: -plugin-opt=emit-llvm ; RUN: llvm-dis < %t3.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/alias2.ll b/llvm/test/tools/gold/X86/alias2.ll index 3beecd4190d..1163d8cc7ff 100644 --- a/llvm/test/tools/gold/X86/alias2.ll +++ b/llvm/test/tools/gold/X86/alias2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -shared -o %t2.bc -plugin %llvmshlibdir/LLVMgold.so %t.o -plugin-opt=emit-llvm +; RUN: %gold -shared -o %t2.bc -plugin %llvmshlibdir/LLVMgold%shlibext %t.o -plugin-opt=emit-llvm ; RUN: llvm-dis %t2.bc -o - | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/tools/gold/X86/asm_undefined.ll b/llvm/test/tools/gold/X86/asm_undefined.ll index 6e889a0e372..88478ebeefd 100644 --- a/llvm/test/tools/gold/X86/asm_undefined.ll +++ b/llvm/test/tools/gold/X86/asm_undefined.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: %t.o --plugin-opt=save-temps ; RUN: llvm-nm %t2 | FileCheck %s --check-prefix=OUTPUT diff --git a/llvm/test/tools/gold/X86/asm_undefined2.ll b/llvm/test/tools/gold/X86/asm_undefined2.ll index d6ed55a775a..7b86be47776 100644 --- a/llvm/test/tools/gold/X86/asm_undefined2.ll +++ b/llvm/test/tools/gold/X86/asm_undefined2.ll @@ -1,12 +1,12 @@ ; RegularLTO testcase ; RUN: llvm-as %s -o %t.o -; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: %t.o --plugin-opt=save-temps -upatatino ; RUN: llvm-dis < %t2.0.5.precodegen.bc | FileCheck %s ; ThinLTO testcase ; RUN: opt -module-summary %s -o %t.o -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=save-temps \ ; RUN: --plugin-opt=thinlto -o %t2 %t.o ; RUN: llvm-dis < %t.o.5.precodegen.bc | FileCheck --check-prefix=CHECKTHIN %s diff --git a/llvm/test/tools/gold/X86/available-externally.ll b/llvm/test/tools/gold/X86/available-externally.ll index f01f45de21f..6268d60cd9b 100644 --- a/llvm/test/tools/gold/X86/available-externally.ll +++ b/llvm/test/tools/gold/X86/available-externally.ll @@ -1,12 +1,12 @@ ; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %p/Inputs/available-externally.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o %t2.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t2.o %t.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/bad-alias.ll b/llvm/test/tools/gold/X86/bad-alias.ll index 2a09f69c6e1..19395c132bc 100644 --- a/llvm/test/tools/gold/X86/bad-alias.ll +++ b/llvm/test/tools/gold/X86/bad-alias.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t.o -; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: not %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s diff --git a/llvm/test/tools/gold/X86/bcsection.ll b/llvm/test/tools/gold/X86/bcsection.ll index e014ff51745..5527a1df6fc 100644 --- a/llvm/test/tools/gold/X86/bcsection.ll +++ b/llvm/test/tools/gold/X86/bcsection.ll @@ -3,7 +3,7 @@ ; RUN: llvm-mc -I=%t -filetype=obj -triple=x86_64-unknown-unknown -o %t/bcsection.bco %p/Inputs/bcsection.s ; RUN: llvm-nm -no-llvm-bc %t/bcsection.bco | count 0 -; RUN: %gold -r -o %t/bcsection.o -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so %t/bcsection.bco +; RUN: %gold -r -o %t/bcsection.o -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext %t/bcsection.bco ; RUN: llvm-nm -no-llvm-bc %t/bcsection.o | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/tools/gold/X86/cache.ll b/llvm/test/tools/gold/X86/cache.ll index 5a0c7ab8945..9e83b5b68d6 100644 --- a/llvm/test/tools/gold/X86/cache.ll +++ b/llvm/test/tools/gold/X86/cache.ll @@ -3,7 +3,7 @@ ; RUN: opt -module-summary %p/Inputs/cache.ll -o %t2.o ; RUN: rm -Rf %t.cache -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=cache-dir=%t.cache \ ; RUN: -o %t3.o %t2.o %t.o @@ -17,7 +17,7 @@ ; RUN: opt -module-hash -module-summary %p/Inputs/cache.ll -o %t2.o ; RUN: rm -Rf %t.cache -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=cache-dir=%t.cache \ ; RUN: -o %t3.o %t2.o %t.o @@ -29,7 +29,7 @@ ; We should only remove files matching the pattern "llvmcache-*". ; RUN: touch -t 197001011200 %t.cache/llvmcache-foo %t.cache/foo -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=cache-dir=%t.cache \ ; RUN: --plugin-opt=cache-policy=prune_after=1h:prune_interval=0s \ @@ -43,7 +43,7 @@ ; RUN: %python -c "print(' ' * 65536)" > %t.cache/llvmcache-foo ; This should leave the file in place. -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=cache-dir=%t.cache \ ; RUN: --plugin-opt=cache-policy=cache_size_bytes=128k:prune_interval=0s \ @@ -52,7 +52,7 @@ ; This should remove it. -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=cache-dir=%t.cache \ ; RUN: --plugin-opt=cache-policy=cache_size_bytes=32k:prune_interval=0s \ diff --git a/llvm/test/tools/gold/X86/coff.ll b/llvm/test/tools/gold/X86/coff.ll index e3eaa6a928c..e5a2da92a44 100644 --- a/llvm/test/tools/gold/X86/coff.ll +++ b/llvm/test/tools/gold/X86/coff.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=emit-llvm \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=emit-llvm \ ; RUN: -shared %t.o -o %t2.o ; RUN: llvm-dis %t2.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/comdat.ll b/llvm/test/tools/gold/X86/comdat.ll index 7cb1855df2d..e3fec54fc19 100644 --- a/llvm/test/tools/gold/X86/comdat.ll +++ b/llvm/test/tools/gold/X86/comdat.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t1.o ; RUN: llvm-as %p/Inputs/comdat.ll -o %t2.o -; RUN: %gold -shared -o %t3.o -plugin %llvmshlibdir/LLVMgold.so %t1.o %t2.o \ +; RUN: %gold -shared -o %t3.o -plugin %llvmshlibdir/LLVMgold%shlibext %t1.o %t2.o \ ; RUN: -m elf_x86_64 \ ; RUN: -plugin-opt=save-temps ; RUN: FileCheck --check-prefix=RES %s < %t3.o.resolution.txt diff --git a/llvm/test/tools/gold/X86/comdat2.ll b/llvm/test/tools/gold/X86/comdat2.ll index a15ae1daf5a..0d76139c632 100644 --- a/llvm/test/tools/gold/X86/comdat2.ll +++ b/llvm/test/tools/gold/X86/comdat2.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t.bc ; RUN: llvm-as %p/Inputs/comdat2.ll -o %t2.bc -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.bc %t2.bc -o %t3.bc ; RUN: llvm-dis %t3.bc -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/common.ll b/llvm/test/tools/gold/X86/common.ll index 5d2c5157f69..c3eddefcf07 100644 --- a/llvm/test/tools/gold/X86/common.ll +++ b/llvm/test/tools/gold/X86/common.ll @@ -7,7 +7,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" @a = common global i16 0, align 8 -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t1.o %t2.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s --check-prefix=A @@ -15,7 +15,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; Shared library case, we merge @a as common and keep it for the symbol table. ; A: @a = common global [4 x i8] zeroinitializer, align 8 -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t1.o %t2b.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s --check-prefix=B @@ -23,7 +23,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; (i16 align 8) + (i8 align 16) = i16 align 16 ; B: @a = common global i16 0, align 16 -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t1.o %t2c.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s --check-prefix=C @@ -31,7 +31,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; (i16 align 8) + (i8 align 1) = i16 align 8. ; C: @a = common global i16 0, align 8 -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: %t1.o %t2.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck --check-prefix=EXEC %s @@ -40,7 +40,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; EXEC: @a = internal global [4 x i8] zeroinitializer, align 8 ; RUN: llc %p/Inputs/common.ll -o %t2native.o -filetype=obj -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: %t1.o %t2native.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck --check-prefix=MIXED %s diff --git a/llvm/test/tools/gold/X86/common_thinlto.ll b/llvm/test/tools/gold/X86/common_thinlto.ll index ba38351a74b..cd54d00f671 100644 --- a/llvm/test/tools/gold/X86/common_thinlto.ll +++ b/llvm/test/tools/gold/X86/common_thinlto.ll @@ -1,7 +1,7 @@ ; RUN: opt -module-summary %s -o %t1.o ; RUN: opt -module-summary %p/Inputs/common_thinlto.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=save-temps \ ; RUN: --plugin-opt=thinlto \ ; RUN: -m elf_x86_64 \ diff --git a/llvm/test/tools/gold/X86/ctors.ll b/llvm/test/tools/gold/X86/ctors.ll index 068a503a105..86d6c374a04 100644 --- a/llvm/test/tools/gold/X86/ctors.ll +++ b/llvm/test/tools/gold/X86/ctors.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o -o %t2.o ; RUN: llvm-dis %t2.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/ctors2.ll b/llvm/test/tools/gold/X86/ctors2.ll index 07802c0a5c1..35e77c40530 100644 --- a/llvm/test/tools/gold/X86/ctors2.ll +++ b/llvm/test/tools/gold/X86/ctors2.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %p/Inputs/ctors2.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o %t2.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/disable-verify.ll b/llvm/test/tools/gold/X86/disable-verify.ll index 6463504630f..b7211a77ed6 100644 --- a/llvm/test/tools/gold/X86/disable-verify.ll +++ b/llvm/test/tools/gold/X86/disable-verify.ll @@ -1,12 +1,12 @@ ; RUN: llvm-as %s -o %t.o ; REQUIRES: asserts -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=disable-verify \ ; RUN: --plugin-opt=-debug-pass=Arguments \ ; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=-debug-pass=Arguments \ ; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s -check-prefix=VERIFY diff --git a/llvm/test/tools/gold/X86/drop-debug.ll b/llvm/test/tools/gold/X86/drop-debug.ll index b8c4d8c62a9..a5fb574e420 100644 --- a/llvm/test/tools/gold/X86/drop-debug.ll +++ b/llvm/test/tools/gold/X86/drop-debug.ll @@ -1,4 +1,4 @@ -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm -shared %p/Inputs/drop-debug.bc \ ; RUN: -o t2.bc 2>&1 | FileCheck %s diff --git a/llvm/test/tools/gold/X86/drop-linkage.ll b/llvm/test/tools/gold/X86/drop-linkage.ll index c85d28e15cc..566e55d2765 100644 --- a/llvm/test/tools/gold/X86/drop-linkage.ll +++ b/llvm/test/tools/gold/X86/drop-linkage.ll @@ -2,7 +2,7 @@ ; RUN: llvm-mc %t.s -o %t.o -filetype=obj ; RUN: llvm-as %p/Inputs/drop-linkage.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o %t2.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/emit-llvm.ll b/llvm/test/tools/gold/X86/emit-llvm.ll index 9aec93a78f0..120250ae37e 100644 --- a/llvm/test/tools/gold/X86/emit-llvm.ll +++ b/llvm/test/tools/gold/X86/emit-llvm.ll @@ -1,11 +1,11 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o -o %t2.o ; RUN: llvm-dis %t2.o -o - | FileCheck %s -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 --plugin-opt=save-temps \ ; RUN: -shared %t.o -o %t3.o ; RUN: FileCheck --check-prefix=RES %s < %t3.o.resolution.txt @@ -15,7 +15,7 @@ ; RUN: llvm-nm %t3.o.o | FileCheck --check-prefix=NM %s ; RUN: rm -f %t4.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 --plugin-opt=disable-output \ ; RUN: -shared %t.o -o %t4.o ; RUN: not test -a %t4.o diff --git a/llvm/test/tools/gold/X86/error-unopenable.ll b/llvm/test/tools/gold/X86/error-unopenable.ll index f05518db6f7..13ebd487825 100644 --- a/llvm/test/tools/gold/X86/error-unopenable.ll +++ b/llvm/test/tools/gold/X86/error-unopenable.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as -o %t %s -; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: not %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=obj-path=%t/nonexistent-dir/foo.o \ ; RUN: %t -o %t2 2>&1 | FileCheck %s diff --git a/llvm/test/tools/gold/X86/global_with_section.ll b/llvm/test/tools/gold/X86/global_with_section.ll index c8291f8ceae..75e2a6978b2 100644 --- a/llvm/test/tools/gold/X86/global_with_section.ll +++ b/llvm/test/tools/gold/X86/global_with_section.ll @@ -7,7 +7,7 @@ ; RUN: opt %s -o %t.o ; RUN: llvm-lto2 dump-symtab %t.o | FileCheck %s --check-prefix=SYMTAB ; RUN: opt %p/Inputs/global_with_section.ll -o %t2.o -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=save-temps \ ; RUN: -o %t3.o %t.o %t2.o ; Check results of internalization @@ -17,7 +17,7 @@ ; RUN: opt -module-summary %s -o %t.o ; RUN: llvm-lto2 dump-symtab %t.o | FileCheck %s --check-prefix=SYMTAB ; RUN: opt -module-summary %p/Inputs/global_with_section.ll -o %t2.o -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=save-temps \ ; RUN: -o %t3.o %t.o %t2.o diff --git a/llvm/test/tools/gold/X86/invalid.ll b/llvm/test/tools/gold/X86/invalid.ll index 858cd47adbe..7cf53413d33 100644 --- a/llvm/test/tools/gold/X86/invalid.ll +++ b/llvm/test/tools/gold/X86/invalid.ll @@ -1,4 +1,4 @@ -; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: not %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: %p/Inputs/invalid.bc -o %t2 2>&1 | FileCheck %s ; test that only one error gets printed diff --git a/llvm/test/tools/gold/X86/irmover-error.ll b/llvm/test/tools/gold/X86/irmover-error.ll index 32f4b018bf6..71e212a07a2 100644 --- a/llvm/test/tools/gold/X86/irmover-error.ll +++ b/llvm/test/tools/gold/X86/irmover-error.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as -o %t1.bc %s ; RUN: llvm-as -o %t2.bc %S/Inputs/irmover-error.ll -; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so -o %t %t1.bc %t2.bc 2>&1 | FileCheck %s +; RUN: not %gold -plugin %llvmshlibdir/LLVMgold%shlibext -o %t %t1.bc %t2.bc 2>&1 | FileCheck %s ; CHECK: fatal error: Failed to link module {{.*}}2.bc: linking module flags 'foo': IDs have conflicting values diff --git a/llvm/test/tools/gold/X86/linker-script.ll b/llvm/test/tools/gold/X86/linker-script.ll index 3cc067550a6..6affe5d04df 100644 --- a/llvm/test/tools/gold/X86/linker-script.ll +++ b/llvm/test/tools/gold/X86/linker-script.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o -o %t2.o \ ; RUN: -version-script=%p/Inputs/linker-script.export diff --git a/llvm/test/tools/gold/X86/linkonce-weak.ll b/llvm/test/tools/gold/X86/linkonce-weak.ll index 258c8dc1fa7..cd6abc59d1d 100644 --- a/llvm/test/tools/gold/X86/linkonce-weak.ll +++ b/llvm/test/tools/gold/X86/linkonce-weak.ll @@ -1,12 +1,12 @@ ; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %p/Inputs/linkonce-weak.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o %t2.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t2.o %t.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/mixed_lto.ll b/llvm/test/tools/gold/X86/mixed_lto.ll index 4b53ff9ec38..806d4d5a9a6 100644 --- a/llvm/test/tools/gold/X86/mixed_lto.ll +++ b/llvm/test/tools/gold/X86/mixed_lto.ll @@ -2,7 +2,7 @@ ; RUN: opt %s -o %t.o ; RUN: opt -module-summary %p/Inputs/mixed_lto.ll -o %t2.o -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -shared \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=-import-instr-limit=0 \ diff --git a/llvm/test/tools/gold/X86/module_asm.ll b/llvm/test/tools/gold/X86/module_asm.ll index 6aa591fdba2..af2e222ac6a 100644 --- a/llvm/test/tools/gold/X86/module_asm.ll +++ b/llvm/test/tools/gold/X86/module_asm.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold.so %t.o +; RUN: %gold -shared -m elf_x86_64 -o %t2 -plugin %llvmshlibdir/LLVMgold%shlibext %t.o ; RUN: llvm-nm %t2 | FileCheck %s ; CHECK: PrepareAndDispatch diff --git a/llvm/test/tools/gold/X86/multiple-data.s b/llvm/test/tools/gold/X86/multiple-data.s index 9906a5a1633..eb46776e5ae 100644 --- a/llvm/test/tools/gold/X86/multiple-data.s +++ b/llvm/test/tools/gold/X86/multiple-data.s @@ -4,7 +4,7 @@ # RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-unknown-linux-gnu # RUN: llvm-as %p/Inputs/multiple-data.ll -o %t2.o -# RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +# RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ # RUN: -m elf_x86_64 -o %t.exe %t2.o %t.o \ # RUN: --section-ordering-file=%t_order_lto.txt # RUN: llvm-readobj -elf-output-style=GNU -t %t.exe | FileCheck %s diff --git a/llvm/test/tools/gold/X86/multiple-sections.ll b/llvm/test/tools/gold/X86/multiple-sections.ll index fbc1c7e93dc..61ab291e6cd 100644 --- a/llvm/test/tools/gold/X86/multiple-sections.ll +++ b/llvm/test/tools/gold/X86/multiple-sections.ll @@ -2,7 +2,7 @@ ; RUN: echo ".text._start" >> %t_order_lto.txt ; RUN: echo ".text.pat" >> %t_order_lto.txt ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 -o %t.exe %t.o \ ; RUN: --section-ordering-file=%t_order_lto.txt ; RUN: llvm-readobj -elf-output-style=GNU -t %t.exe | FileCheck %s diff --git a/llvm/test/tools/gold/X86/no-map-whole-file.ll b/llvm/test/tools/gold/X86/no-map-whole-file.ll index eb74bd78fc9..a3dcba992fe 100644 --- a/llvm/test/tools/gold/X86/no-map-whole-file.ll +++ b/llvm/test/tools/gold/X86/no-map-whole-file.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as -o %t.bc %s -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=emit-llvm \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=emit-llvm \ ; RUN: --no-map-whole-files -r -o %t2.bc %t.bc ; RUN: llvm-dis < %t2.bc -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/opt-level.ll b/llvm/test/tools/gold/X86/opt-level.ll index a48c551a9ae..33317ea22f1 100644 --- a/llvm/test/tools/gold/X86/opt-level.ll +++ b/llvm/test/tools/gold/X86/opt-level.ll @@ -1,13 +1,13 @@ ; RUN: llvm-as -o %t.bc %s -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=save-temps \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \ ; RUN: -m elf_x86_64 \ ; RUN: -plugin-opt=O0 -r -o %t.o %t.bc ; RUN: llvm-dis < %t.o.0.4.opt.bc -o - | FileCheck --check-prefix=CHECK-O0 %s -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=save-temps \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \ ; RUN: -m elf_x86_64 \ ; RUN: -plugin-opt=O1 -r -o %t.o %t.bc ; RUN: llvm-dis < %t.o.0.4.opt.bc -o - | FileCheck --check-prefix=CHECK-O1 %s -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -plugin-opt=save-temps \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -plugin-opt=save-temps \ ; RUN: -m elf_x86_64 \ ; RUN: -plugin-opt=O2 -r -o %t.o %t.bc ; RUN: llvm-dis < %t.o.0.4.opt.bc -o - | FileCheck --check-prefix=CHECK-O2 %s diff --git a/llvm/test/tools/gold/X86/parallel.ll b/llvm/test/tools/gold/X86/parallel.ll index 7d0e405d5d6..dabb5c46931 100644 --- a/llvm/test/tools/gold/X86/parallel.ll +++ b/llvm/test/tools/gold/X86/parallel.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as -o %t.bc %s ; RUN: rm -f %t.0.5.precodegen.bc %t.1.5.precodegen.bc %t.o %t.o1 -; RUN: env LD_PRELOAD=%llvmshlibdir/LLVMgold.so %gold -plugin %llvmshlibdir/LLVMgold.so -u foo -u bar -plugin-opt lto-partitions=2 -plugin-opt save-temps -m elf_x86_64 -o %t %t.bc +; RUN: env LD_PRELOAD=%llvmshlibdir/LLVMgold%shlibext %gold -plugin %llvmshlibdir/LLVMgold%shlibext -u foo -u bar -plugin-opt lto-partitions=2 -plugin-opt save-temps -m elf_x86_64 -o %t %t.bc ; RUN: llvm-dis %t.0.5.precodegen.bc -o - | FileCheck --check-prefix=CHECK-BC0 %s ; RUN: llvm-dis %t.1.5.precodegen.bc -o - | FileCheck --check-prefix=CHECK-BC1 %s ; RUN: llvm-nm %t.o | FileCheck --check-prefix=CHECK0 %s diff --git a/llvm/test/tools/gold/X86/pr19901.ll b/llvm/test/tools/gold/X86/pr19901.ll index 7967f6cc42a..6117070da52 100644 --- a/llvm/test/tools/gold/X86/pr19901.ll +++ b/llvm/test/tools/gold/X86/pr19901.ll @@ -1,6 +1,6 @@ ; RUN: llc %s -o %t.o -filetype=obj -relocation-model=pic ; RUN: llvm-as %p/Inputs/pr19901-1.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -shared -m elf_x86_64 -o %t.so %t2.o %t.o ; RUN: llvm-readobj -t %t.so | FileCheck %s diff --git a/llvm/test/tools/gold/X86/pr19901_thinlto.ll b/llvm/test/tools/gold/X86/pr19901_thinlto.ll index 6a9dd2432fd..dd7f533732a 100644 --- a/llvm/test/tools/gold/X86/pr19901_thinlto.ll +++ b/llvm/test/tools/gold/X86/pr19901_thinlto.ll @@ -1,6 +1,6 @@ ; RUN: llc %s -o %t.o -filetype=obj -relocation-model=pic ; RUN: opt -module-summary %p/Inputs/pr19901-1.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: -shared -m elf_x86_64 -o %t.so %t2.o %t.o ; RUN: llvm-readobj -t %t.so | FileCheck %s diff --git a/llvm/test/tools/gold/X86/pr25907.ll b/llvm/test/tools/gold/X86/pr25907.ll index bfdf4fc9049..86a1a6f91ad 100644 --- a/llvm/test/tools/gold/X86/pr25907.ll +++ b/llvm/test/tools/gold/X86/pr25907.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: -shared %t.o -o %t2 ; RUN: llvm-nm %t2 | FileCheck %s diff --git a/llvm/test/tools/gold/X86/pr25915.ll b/llvm/test/tools/gold/X86/pr25915.ll index 20e4b8b4882..c2c818c2e10 100644 --- a/llvm/test/tools/gold/X86/pr25915.ll +++ b/llvm/test/tools/gold/X86/pr25915.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -plugin-opt=emit-llvm \ ; RUN: -shared %t.o -o %t2 ; RUN: llvm-dis %t2 -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/relax-relocs.ll b/llvm/test/tools/gold/X86/relax-relocs.ll index 72f081e81c3..f62125c48d1 100644 --- a/llvm/test/tools/gold/X86/relax-relocs.ll +++ b/llvm/test/tools/gold/X86/relax-relocs.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=save-temps \ ; RUN: -shared %t.o -o %t.so ; RUN: llvm-readobj -r %t.so.o | FileCheck %s diff --git a/llvm/test/tools/gold/X86/relocatable.ll b/llvm/test/tools/gold/X86/relocatable.ll index 20f18fc4124..a7cd8f4ac0b 100644 --- a/llvm/test/tools/gold/X86/relocatable.ll +++ b/llvm/test/tools/gold/X86/relocatable.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as %s -o %t1.o -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -r %t1.o -o %t ; RUN: llvm-readobj -symbols %t | FileCheck %s diff --git a/llvm/test/tools/gold/X86/relocation-model-pic.ll b/llvm/test/tools/gold/X86/relocation-model-pic.ll index 65b7beecc22..ad7d2981e9e 100644 --- a/llvm/test/tools/gold/X86/relocation-model-pic.ll +++ b/llvm/test/tools/gold/X86/relocation-model-pic.ll @@ -7,44 +7,44 @@ ;; Non-PIC source. -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --shared \ ; RUN: --plugin-opt=save-temps %t.o -o %t-out ; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=PIC -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --export-dynamic --noinhibit-exec -pie \ ; RUN: --plugin-opt=save-temps %t.o -o %t-out ; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=PIC -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --export-dynamic --noinhibit-exec \ ; RUN: --plugin-opt=save-temps %t.o -o %t-out ; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=STATIC -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -r \ ; RUN: --plugin-opt=save-temps %t.o -o %t-out ; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=STATIC ;; PIC source. -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --shared \ ; RUN: --plugin-opt=save-temps %t.pic.o -o %t-out ; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=PIC -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --export-dynamic --noinhibit-exec -pie \ ; RUN: --plugin-opt=save-temps %t.pic.o -o %t-out ; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=PIC -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --export-dynamic --noinhibit-exec \ ; RUN: --plugin-opt=save-temps %t.pic.o -o %t-out ; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=STATIC -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -r \ ; RUN: --plugin-opt=save-temps %t.pic.o -o %t-out ; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=PIC diff --git a/llvm/test/tools/gold/X86/remarks.ll b/llvm/test/tools/gold/X86/remarks.ll index 51bd121cebc..d1bbe46157f 100644 --- a/llvm/test/tools/gold/X86/remarks.ll +++ b/llvm/test/tools/gold/X86/remarks.ll @@ -1,9 +1,9 @@ ; RUN: llvm-as %s -o %t.o -; RUN: not %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: not %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -plugin-opt=-pass-remarks=inline %t.o -o %t2.o 2>&1 | FileCheck %s -; RUN: not %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: not %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: %t.o -o %t2.o 2>&1 | FileCheck -allow-empty --check-prefix=NO-REMARK %s diff --git a/llvm/test/tools/gold/X86/resolve-to-alias.ll b/llvm/test/tools/gold/X86/resolve-to-alias.ll index bf4a33fcb33..fd108a7eb4e 100644 --- a/llvm/test/tools/gold/X86/resolve-to-alias.ll +++ b/llvm/test/tools/gold/X86/resolve-to-alias.ll @@ -1,14 +1,14 @@ ; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %p/Inputs/resolve-to-alias.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o %t2.o -o %t.bc ; RUN: llvm-dis %t.bc -o %t.ll ; RUN: FileCheck --check-prefix=PASS1 %s < %t.ll ; RUN: FileCheck --check-prefix=PASS2 %s < %t.ll -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t2.o %t.o -o %t.bc ; RUN: llvm-dis %t.bc -o %t.ll diff --git a/llvm/test/tools/gold/X86/slp-vectorize.ll b/llvm/test/tools/gold/X86/slp-vectorize.ll index 7ce4b8ecec7..fd4928e9cfc 100644 --- a/llvm/test/tools/gold/X86/slp-vectorize.ll +++ b/llvm/test/tools/gold/X86/slp-vectorize.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=save-temps \ ; RUN: -shared %t.o -o %t2.o ; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/start-lib-common.ll b/llvm/test/tools/gold/X86/start-lib-common.ll index 085cfbd903f..209a556de21 100644 --- a/llvm/test/tools/gold/X86/start-lib-common.ll +++ b/llvm/test/tools/gold/X86/start-lib-common.ll @@ -4,7 +4,7 @@ ; RUN: llvm-as %s -o %t1.o ; RUN: llvm-as %p/Inputs/start-lib-common.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t1.o --start-lib %t2.o --end-lib -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/stats.ll b/llvm/test/tools/gold/X86/stats.ll index 255a2bd90bc..7c5bc694c14 100644 --- a/llvm/test/tools/gold/X86/stats.ll +++ b/llvm/test/tools/gold/X86/stats.ll @@ -1,12 +1,12 @@ ; REQUIRES: asserts ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -shared \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -shared \ ; RUN: -m elf_x86_64 \ ; RUN: -plugin-opt=-stats %t.o -o %t2 2>&1 | FileCheck %s ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so -shared \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext -shared \ ; RUN: -m elf_x86_64 \ ; RUN: -plugin-opt=thinlto \ ; RUN: -plugin-opt=thinlto-index-only \ diff --git a/llvm/test/tools/gold/X86/strip_names.ll b/llvm/test/tools/gold/X86/strip_names.ll index dd4a94f83d6..23b94a59484 100644 --- a/llvm/test/tools/gold/X86/strip_names.ll +++ b/llvm/test/tools/gold/X86/strip_names.ll @@ -1,12 +1,12 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=save-temps \ ; RUN: -shared %t.o -o %t2.o ; RUN: llvm-dis %t2.o.0.2.internalize.bc -o - | FileCheck %s -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o -o %t2.o diff --git a/llvm/test/tools/gold/X86/thinlto.ll b/llvm/test/tools/gold/X86/thinlto.ll index bb87adc4474..5e0eb6c32d9 100644 --- a/llvm/test/tools/gold/X86/thinlto.ll +++ b/llvm/test/tools/gold/X86/thinlto.ll @@ -2,13 +2,13 @@ ; bitcode without summary sections gracefully. ; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %p/Inputs/thinlto.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=thinlto-index-only \ ; RUN: -shared %t.o %t2.o -o %t3 ; RUN: not test -e %t3 -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=thinlto \ ; RUN: -shared %t.o %t2.o -o %t4 @@ -19,7 +19,7 @@ ; RUN: opt -module-summary %p/Inputs/thinlto.ll -o %t2.o ; Ensure gold generates an index and not a binary if requested. -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=thinlto-index-only \ @@ -30,7 +30,7 @@ ; Ensure gold generates an index as well as a binary with save-temps in ThinLTO mode. ; First force single-threaded mode -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=save-temps \ ; RUN: --plugin-opt=thinlto \ @@ -40,7 +40,7 @@ ; RUN: llvm-nm %t4 | FileCheck %s --check-prefix=NM ; Check with --no-map-whole-files -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=save-temps \ ; RUN: --plugin-opt=thinlto \ @@ -51,7 +51,7 @@ ; RUN: llvm-nm %t4 | FileCheck %s --check-prefix=NM ; Next force multi-threaded mode -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=save-temps \ ; RUN: --plugin-opt=thinlto \ @@ -62,7 +62,7 @@ ; Test --plugin-opt=obj-path to ensure unique object files generated. ; RUN: rm -f %t5.o %t5.o1 -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=jobs=2 \ diff --git a/llvm/test/tools/gold/X86/thinlto_afdo.ll b/llvm/test/tools/gold/X86/thinlto_afdo.ll index 617f9f87a91..b88cdbd242e 100644 --- a/llvm/test/tools/gold/X86/thinlto_afdo.ll +++ b/llvm/test/tools/gold/X86/thinlto_afdo.ll @@ -3,7 +3,7 @@ ; RUN: opt -module-summary %p/Inputs/thinlto.ll -o %t2.o ; RUN: rm -f %t1.o.4.opt.bc -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=save-temps \ diff --git a/llvm/test/tools/gold/X86/thinlto_alias.ll b/llvm/test/tools/gold/X86/thinlto_alias.ll index 97d4f7c3997..7074f12fb61 100644 --- a/llvm/test/tools/gold/X86/thinlto_alias.ll +++ b/llvm/test/tools/gold/X86/thinlto_alias.ll @@ -9,7 +9,7 @@ ; Note that gold picks the first copy of weakfunc() as the prevailing one, ; so listing %t2.o first is sufficient to ensure that this copy is ; preempted. -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=save-temps \ ; RUN: -o %t3.o %t2.o %t.o diff --git a/llvm/test/tools/gold/X86/thinlto_archive.ll b/llvm/test/tools/gold/X86/thinlto_archive.ll index 13038b4fb60..f369308053c 100644 --- a/llvm/test/tools/gold/X86/thinlto_archive.ll +++ b/llvm/test/tools/gold/X86/thinlto_archive.ll @@ -8,7 +8,7 @@ ; Test importing from archive library via gold, using jobs=1 to ensure ; output messages are not interleaved. -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=-print-imports \ diff --git a/llvm/test/tools/gold/X86/thinlto_emit_imports.ll b/llvm/test/tools/gold/X86/thinlto_emit_imports.ll index ebe90fe7a99..40b421192da 100644 --- a/llvm/test/tools/gold/X86/thinlto_emit_imports.ll +++ b/llvm/test/tools/gold/X86/thinlto_emit_imports.ll @@ -7,7 +7,7 @@ ; Ensure gold generates imports files if requested for distributed backends. ; RUN: rm -f %t3.o.imports %t3.o.thinlto.bc -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=thinlto-index-only \ ; RUN: --plugin-opt=thinlto-emit-imports-files \ diff --git a/llvm/test/tools/gold/X86/thinlto_emit_linked_objects.ll b/llvm/test/tools/gold/X86/thinlto_emit_linked_objects.ll index ad3f2ee8840..bc791e2aad3 100644 --- a/llvm/test/tools/gold/X86/thinlto_emit_linked_objects.ll +++ b/llvm/test/tools/gold/X86/thinlto_emit_linked_objects.ll @@ -10,7 +10,7 @@ ; a library that had no strongly referenced symbols, that file would not ; be included in the link and listed in the emitted file. However, this ; requires gold version 1.12. -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=thinlto-index-only=%t3 \ ; RUN: -o %t5 \ diff --git a/llvm/test/tools/gold/X86/thinlto_funcimport.ll b/llvm/test/tools/gold/X86/thinlto_funcimport.ll index fbfa0282508..fe92f318b4b 100644 --- a/llvm/test/tools/gold/X86/thinlto_funcimport.ll +++ b/llvm/test/tools/gold/X86/thinlto_funcimport.ll @@ -2,7 +2,7 @@ ; RUN: opt -module-summary %s -o %t1.bc ; RUN: opt -module-summary %p/Inputs/thinlto_funcimport.ll -o %t2.bc -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=save-temps \ ; RUN: --plugin-opt=thinlto \ ; RUN: -shared %t1.bc %t2.bc -o %t @@ -11,7 +11,7 @@ ; We shouldn't do any importing at -O0 ; rm -f %t2.bc.3.import.bc -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=save-temps \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=O0 \ diff --git a/llvm/test/tools/gold/X86/thinlto_internalize.ll b/llvm/test/tools/gold/X86/thinlto_internalize.ll index f8b200e3197..5408596124f 100644 --- a/llvm/test/tools/gold/X86/thinlto_internalize.ll +++ b/llvm/test/tools/gold/X86/thinlto_internalize.ll @@ -1,7 +1,7 @@ ; RUN: opt -module-summary %s -o %t.o ; RUN: opt -module-summary %p/Inputs/thinlto_internalize.ll -o %t2.o -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=-import-instr-limit=0 \ ; RUN: --plugin-opt=save-temps \ diff --git a/llvm/test/tools/gold/X86/thinlto_linkonceresolution.ll b/llvm/test/tools/gold/X86/thinlto_linkonceresolution.ll index c56d6ce2857..9b10c2767f4 100644 --- a/llvm/test/tools/gold/X86/thinlto_linkonceresolution.ll +++ b/llvm/test/tools/gold/X86/thinlto_linkonceresolution.ll @@ -7,7 +7,7 @@ ; so listing %t2.o first is sufficient to ensure that this copy is ; preempted. Also, set the import-instr-limit to 0 to prevent f() from ; being imported from %t2.o which hides the problem. -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=-import-instr-limit=0 \ ; RUN: --plugin-opt=save-temps \ diff --git a/llvm/test/tools/gold/X86/thinlto_object_suffix_replace.ll b/llvm/test/tools/gold/X86/thinlto_object_suffix_replace.ll index af4adad1655..af0ed39e5f0 100644 --- a/llvm/test/tools/gold/X86/thinlto_object_suffix_replace.ll +++ b/llvm/test/tools/gold/X86/thinlto_object_suffix_replace.ll @@ -7,7 +7,7 @@ ; First perform the thin link on the normal bitcode file, and save the ; resulting index. -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=thinlto-index-only \ @@ -19,7 +19,7 @@ ; RUN: rm -f %t1.o.thinlto.bc ; Make sure it isn't inadvertently using the regular bitcode file. ; RUN: rm -f %t1.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=thinlto-index-only \ diff --git a/llvm/test/tools/gold/X86/thinlto_prefix_replace.ll b/llvm/test/tools/gold/X86/thinlto_prefix_replace.ll index c7fcf2464ad..7e5dc1e41f9 100644 --- a/llvm/test/tools/gold/X86/thinlto_prefix_replace.ll +++ b/llvm/test/tools/gold/X86/thinlto_prefix_replace.ll @@ -4,7 +4,7 @@ ; Ensure that there is no existing file at the new path, so we properly ; test the creation of the new file there. ; RUN: rm -f %t/newpath/thinlto_prefix_replace.o.thinlto.bc -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=thinlto-index-only \ ; RUN: --plugin-opt=thinlto-prefix-replace="%t/oldpath/;%t/newpath/" \ diff --git a/llvm/test/tools/gold/X86/thinlto_weak_library.ll b/llvm/test/tools/gold/X86/thinlto_weak_library.ll index 9e7b4794c65..3eff4a5d22e 100644 --- a/llvm/test/tools/gold/X86/thinlto_weak_library.ll +++ b/llvm/test/tools/gold/X86/thinlto_weak_library.ll @@ -12,7 +12,7 @@ ; %t.o. It later selects %t2.o based on the strong ref from %t3.o. ; Therefore, %t3.o's copy of @f is prevailing, and we need to link ; %t3.o before %t2.o in the final native link. -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=save-temps \ ; RUN: -m elf_x86_64 \ diff --git a/llvm/test/tools/gold/X86/thinlto_weak_resolution.ll b/llvm/test/tools/gold/X86/thinlto_weak_resolution.ll index ab609cca878..5bed8ca37c4 100644 --- a/llvm/test/tools/gold/X86/thinlto_weak_resolution.ll +++ b/llvm/test/tools/gold/X86/thinlto_weak_resolution.ll @@ -4,7 +4,7 @@ ; Verify that prevailing weak for linker symbol is kept. ; Note that gold picks the first copy of a function as the prevailing one, ; so listing %t.o first is sufficient to ensure that its copies are prevailing. -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=save-temps \ ; RUN: -shared \ diff --git a/llvm/test/tools/gold/X86/type-merge.ll b/llvm/test/tools/gold/X86/type-merge.ll index b79e977b3ac..373487d97e9 100644 --- a/llvm/test/tools/gold/X86/type-merge.ll +++ b/llvm/test/tools/gold/X86/type-merge.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %p/Inputs/type-merge.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o %t2.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/type-merge2.ll b/llvm/test/tools/gold/X86/type-merge2.ll index 439abd9c2b9..28ba37e9dcd 100644 --- a/llvm/test/tools/gold/X86/type-merge2.ll +++ b/llvm/test/tools/gold/X86/type-merge2.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %p/Inputs/type-merge2.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=save-temps \ ; RUN: -shared %t.o %t2.o -o %t3.o diff --git a/llvm/test/tools/gold/X86/unnamed-addr.ll b/llvm/test/tools/gold/X86/unnamed-addr.ll index 92f8e7a2abc..86e047f34d8 100644 --- a/llvm/test/tools/gold/X86/unnamed-addr.ll +++ b/llvm/test/tools/gold/X86/unnamed-addr.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o -o %t2.o ; RUN: llvm-dis %t2.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/v1.12/start-lib-common.ll b/llvm/test/tools/gold/X86/v1.12/start-lib-common.ll index 8810d255a3f..71837b410f3 100644 --- a/llvm/test/tools/gold/X86/v1.12/start-lib-common.ll +++ b/llvm/test/tools/gold/X86/v1.12/start-lib-common.ll @@ -4,7 +4,7 @@ ; RUN: llvm-as %s -o %t1.o ; RUN: llvm-as %p/Inputs/start-lib-common.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t1.o --start-lib %t2.o --end-lib -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll b/llvm/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll index 5fc0573a46e..0c051a68cf6 100644 --- a/llvm/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll +++ b/llvm/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll @@ -13,7 +13,7 @@ ; RUN: rm -f %t2.o.thinlto.bc ; RUN: rm -f %t.o.imports ; RUN: rm -f %t2.o.imports -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=thinlto \ ; RUN: --plugin-opt=thinlto-index-only=%t3 \ ; RUN: --plugin-opt=thinlto-emit-imports-files \ diff --git a/llvm/test/tools/gold/X86/vectorize.ll b/llvm/test/tools/gold/X86/vectorize.ll index d6055dc7491..e78064de5b9 100644 --- a/llvm/test/tools/gold/X86/vectorize.ll +++ b/llvm/test/tools/gold/X86/vectorize.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t.o -; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=save-temps \ ; RUN: -shared %t.o -o %t2.o ; RUN: llvm-dis %t2.o.0.4.opt.bc -o - | FileCheck %s diff --git a/llvm/test/tools/gold/X86/visibility.ll b/llvm/test/tools/gold/X86/visibility.ll index 61f565d2da4..fac8de558a1 100644 --- a/llvm/test/tools/gold/X86/visibility.ll +++ b/llvm/test/tools/gold/X86/visibility.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %p/Inputs/visibility.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: -m elf_x86_64 \ ; RUN: --plugin-opt=save-temps \ ; RUN: -shared %t.o %t2.o -o %t.so diff --git a/llvm/test/tools/gold/X86/weak.ll b/llvm/test/tools/gold/X86/weak.ll index 35cdbbb1427..384a0ab3ae8 100644 --- a/llvm/test/tools/gold/X86/weak.ll +++ b/llvm/test/tools/gold/X86/weak.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as %s -o %t.o ; RUN: llvm-as %p/Inputs/weak.ll -o %t2.o -; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ ; RUN: --plugin-opt=emit-llvm \ ; RUN: -shared %t.o %t2.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s diff --git a/llvm/test/tools/gold/invalid-dir.ll b/llvm/test/tools/gold/invalid-dir.ll index a09e1e3be20..ec2293b2a70 100644 --- a/llvm/test/tools/gold/invalid-dir.ll +++ b/llvm/test/tools/gold/invalid-dir.ll @@ -1,7 +1,7 @@ ; RUN: rm -rf %t.output ; RUN: mkdir %t.output ; RUN: llvm-as %s -o %t.o -; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so -shared \ +; RUN: not %gold -plugin %llvmshlibdir/LLVMgold%shlibext -shared \ ; RUN: %t.o -o %t.output 2>&1 | FileCheck %s -check-prefix=OUTDIR ; OUTDIR: fatal error: |