diff options
author | Fangrui Song <i@maskray.me> | 2020-07-21 10:18:10 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2020-07-21 10:18:32 -0700 |
commit | aa830e9768303ff8d27c015759294c4ce704d50c (patch) | |
tree | f53734b56ce4191334f5e72a5282a1177021582f | |
parent | dd064afe84b3fd01ef3407dec0aeb22720450048 (diff) | |
download | llvm-aa830e9768303ff8d27c015759294c4ce704d50c.tar.gz |
[LLVMgold.so][test] Fix tests after D84132/55fa315b0352
-rw-r--r-- | llvm/test/tools/gold/X86/cache.ll | 3 | ||||
-rw-r--r-- | llvm/test/tools/gold/X86/emit-llvm.ll | 2 | ||||
-rw-r--r-- | llvm/test/tools/gold/X86/relax-relocs.ll | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/llvm/test/tools/gold/X86/cache.ll b/llvm/test/tools/gold/X86/cache.ll index 4446aa6d8878..5ab556302558 100644 --- a/llvm/test/tools/gold/X86/cache.ll +++ b/llvm/test/tools/gold/X86/cache.ll @@ -67,8 +67,7 @@ ; With save-temps we can confirm that the cached files were copied into temp ; files to avoid a race condition with the cached files being pruned, since the ; gold plugin-api only accepts native objects passed back as files. -; RUN: ls %t4.o.o1 -; RUN: ls %t4.o.o2 +; RUN: ls %t4.o.lto.o1 %t4.o.lto.o2 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/tools/gold/X86/emit-llvm.ll b/llvm/test/tools/gold/X86/emit-llvm.ll index 8bab561889ae..f1f6b22a9c3c 100644 --- a/llvm/test/tools/gold/X86/emit-llvm.ll +++ b/llvm/test/tools/gold/X86/emit-llvm.ll @@ -12,7 +12,7 @@ ; RUN: llvm-dis %t3.o.0.2.internalize.bc -o - | FileCheck %s ; RUN: llvm-dis %t3.o.0.4.opt.bc -o - | FileCheck --check-prefix=OPT %s ; RUN: llvm-dis %t3.o.0.4.opt.bc -o - | FileCheck --check-prefix=OPT2 %s -; RUN: llvm-nm %t3.o.o | FileCheck --check-prefix=NM %s +; RUN: llvm-nm %t3.o.lto.o | FileCheck --check-prefix=NM %s ; RUN: rm -f %t4.o ; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \ diff --git a/llvm/test/tools/gold/X86/relax-relocs.ll b/llvm/test/tools/gold/X86/relax-relocs.ll index f62125c48d1f..3ad79f73cb84 100644 --- a/llvm/test/tools/gold/X86/relax-relocs.ll +++ b/llvm/test/tools/gold/X86/relax-relocs.ll @@ -2,7 +2,7 @@ ; 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 +; RUN: llvm-readobj -r %t.so.lto.o | FileCheck %s ; Test that we produce R_X86_64_GOTPCREL instead of R_X86_64_GOTPCRELX ; CHECK: R_X86_64_GOTPCREL foo |