aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2020-07-21 10:18:10 -0700
committerFangrui Song <i@maskray.me>2020-07-21 10:20:56 -0700
commit8f8ec9927623eb54f003993b3d8411fc0130ca90 (patch)
tree56d05024c2d7be7f6175604dcf2498fc276ba1cc
parent021056563632ca625dab6e8270cec2e2fae7a8cb (diff)
downloadllvm-8f8ec9927623eb54f003993b3d8411fc0130ca90.zip
llvm-8f8ec9927623eb54f003993b3d8411fc0130ca90.tar.gz
llvm-8f8ec9927623eb54f003993b3d8411fc0130ca90.tar.bz2
[LLVMgold.so][test] Fix tests after D84132/55fa315b0352
(cherry picked from commit aa830e9768303ff8d27c015759294c4ce704d50c)
-rw-r--r--llvm/test/tools/gold/X86/cache.ll3
-rw-r--r--llvm/test/tools/gold/X86/emit-llvm.ll2
-rw-r--r--llvm/test/tools/gold/X86/relax-relocs.ll2
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 4446aa6..5ab5563 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 8bab561..f1f6b22 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 f62125c4..3ad79f7 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