summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2019-06-10 21:39:11 +0000
committerTim Shen <timshen91@gmail.com>2019-06-10 21:39:11 +0000
commit23ee97be05f4e75fd40696ee3f2fd5c11b1a46f2 (patch)
treea1efe9cce4099605a36eaa3b2dcc43a5800f7ae9
parent4f3cf3853e1145e3e08fb42ace79ba3e4e268540 (diff)
downloadbcm5719-llvm-23ee97be05f4e75fd40696ee3f2fd5c11b1a46f2.tar.gz
bcm5719-llvm-23ee97be05f4e75fd40696ee3f2fd5c11b1a46f2.zip
[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
-rw-r--r--lld/test/ELF/aarch64-ifunc-bti.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/test/ELF/aarch64-ifunc-bti.s b/lld/test/ELF/aarch64-ifunc-bti.s
index 6f9a06f15df..a881e96388f 100644
--- a/lld/test/ELF/aarch64-ifunc-bti.s
+++ b/lld/test/ELF/aarch64-ifunc-bti.s
@@ -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
OpenPOWER on IntegriCloud