Skip to content

Commit aa830e9

Browse files
committed
[LLVMgold.so][test] Fix tests after D84132/55fa315b0352
1 parent dd064af commit aa830e9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

llvm/test/tools/gold/X86/cache.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@
6767
; With save-temps we can confirm that the cached files were copied into temp
6868
; files to avoid a race condition with the cached files being pruned, since the
6969
; gold plugin-api only accepts native objects passed back as files.
70-
; RUN: ls %t4.o.o1
71-
; RUN: ls %t4.o.o2
70+
; RUN: ls %t4.o.lto.o1 %t4.o.lto.o2
7271

7372

7473
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

llvm/test/tools/gold/X86/emit-llvm.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
; RUN: llvm-dis %t3.o.0.2.internalize.bc -o - | FileCheck %s
1313
; RUN: llvm-dis %t3.o.0.4.opt.bc -o - | FileCheck --check-prefix=OPT %s
1414
; RUN: llvm-dis %t3.o.0.4.opt.bc -o - | FileCheck --check-prefix=OPT2 %s
15-
; RUN: llvm-nm %t3.o.o | FileCheck --check-prefix=NM %s
15+
; RUN: llvm-nm %t3.o.lto.o | FileCheck --check-prefix=NM %s
1616

1717
; RUN: rm -f %t4.o
1818
; RUN: %gold -plugin %llvmshlibdir/LLVMgold%shlibext \

llvm/test/tools/gold/X86/relax-relocs.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
33
; RUN: --plugin-opt=save-temps \
44
; RUN: -shared %t.o -o %t.so
5-
; RUN: llvm-readobj -r %t.so.o | FileCheck %s
5+
; RUN: llvm-readobj -r %t.so.lto.o | FileCheck %s
66

77
; Test that we produce R_X86_64_GOTPCREL instead of R_X86_64_GOTPCRELX
88
; CHECK: R_X86_64_GOTPCREL foo

0 commit comments

Comments
 (0)