Skip to content

Commit

Permalink
[LLVMgold.so][test] Fix tests after D84132/55fa315b0352
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Jul 21, 2020
1 parent dd064af commit aa830e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions llvm/test/tools/gold/X86/cache.ll
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/tools/gold/X86/emit-llvm.ll
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/tools/gold/X86/relax-relocs.ll
Expand Up @@ -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
Expand Down

0 comments on commit aa830e9

Please sign in to comment.