forked from OSchip/llvm-project
[LLD] Change FileCheck output file pattern to a temporary file
The previous name "%lib" doesn't trigger any actual replacement. It creates the file "./tools/lld/test/ELF/%lib.o" in the test directory. llvm-svn: 362988
This commit is contained in:
parent
4f3cf3853e
commit
23ee97be05
|
@ -1,9 +1,9 @@
|
|||
# REQUIRES: aarch64
|
||||
# RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux-gnu %s -o %t.o
|
||||
# RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux-gnu %p/Inputs/aarch64-addrifunc.s -o %lib.o
|
||||
# RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux-gnu %p/Inputs/aarch64-addrifunc.s -o %t1.o
|
||||
|
||||
# RUN: ld.lld --shared %lib.o -o %lib.so
|
||||
# RUN: ld.lld --pie %lib.so %t.o -o %t
|
||||
# RUN: ld.lld --shared %t1.o -o %t1.so
|
||||
# RUN: ld.lld --pie %t1.so %t.o -o %t
|
||||
# RUN: llvm-objdump -d -mattr=+bti -triple=aarch64-linux-gnu %t | FileCheck %s
|
||||
|
||||
# When the address of an ifunc is taken using a non-got reference which clang
|
||||
|
|
Loading…
Reference in New Issue