forked from OSchip/llvm-project
Fix new gold test to specify emulation mode.
The thinlto_linkonceresolution.ll gold linker test introduced in r262727 included a target triple, but didn't set the emulation mode, which is necessary since the default linker target may be different. Patch by H.J. Lu llvm-svn: 262745
This commit is contained in:
parent
bf4d18d3d2
commit
5d07531d02
|
@ -7,7 +7,7 @@
|
||||||
; so listing %t2.o first is sufficient to ensure that this copy is
|
; so listing %t2.o first is sufficient to ensure that this copy is
|
||||||
; preempted. Also, set the import-instr-limit to 0 to prevent f() from
|
; preempted. Also, set the import-instr-limit to 0 to prevent f() from
|
||||||
; being imported from %t2.o which hides the problem.
|
; being imported from %t2.o which hides the problem.
|
||||||
; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
|
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold.so \
|
||||||
; RUN: --plugin-opt=thinlto \
|
; RUN: --plugin-opt=thinlto \
|
||||||
; RUN: --plugin-opt=-import-instr-limit=0 \
|
; RUN: --plugin-opt=-import-instr-limit=0 \
|
||||||
; RUN: --plugin-opt=save-temps \
|
; RUN: --plugin-opt=save-temps \
|
||||||
|
|
Loading…
Reference in New Issue