[ELF][test] Avoid race on a.out

This commit is contained in:
Fangrui Song 2022-02-23 20:48:49 -08:00
parent 38fbedab32
commit 00b6d2106b
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# RUN: llvm-mc -filetype=obj -triple amdgcn-amd-amdhsa -mcpu=gfx1031 --position-independent --relax-relocations %s -o %t.o # RUN: llvm-mc -filetype=obj -triple amdgcn-amd-amdhsa -mcpu=gfx1031 --position-independent --relax-relocations %s -o %t.o
# We use lld-link on purpose to exercise -flavor. # We use lld-link on purpose to exercise -flavor.
# RUN: lld-link -flavor gnu -shared %t.o # RUN: lld-link -flavor gnu -shared %t.o -o /dev/null
.text .text
.amdgcn_target "amdgcn-amd-amdhsa--gfx1031" .amdgcn_target "amdgcn-amd-amdhsa--gfx1031"

View File

@ -6,7 +6,7 @@
# libraries. This test checks such handling. # libraries. This test checks such handling.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o %S/Inputs/mips-gp-dips-corrupt-ver.so # RUN: ld.lld %t.o %S/Inputs/mips-gp-dips-corrupt-ver.so -o /dev/null
.global __start .global __start
.text .text