mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[LLVMgold.so][test] Fix tests after D84132/55fa315b0352
This commit is contained in:
parent
3900b1c685
commit
e734d33c16
@ -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"
|
||||
|
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user