summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-12-15 00:17:04 +0000
committerRui Ueyama <ruiu@google.com>2017-12-15 00:17:04 +0000
commit476a73924e7a789c5a0844280ba0a9deac155d7b (patch)
treefd70dbfe73e900e0586a9b3cb5b9892105fb9edf
parent29ceba796198691ba82b9164cf970c9d0e8a5334 (diff)
downloadbcm5719-llvm-476a73924e7a789c5a0844280ba0a9deac155d7b.tar.gz
bcm5719-llvm-476a73924e7a789c5a0844280ba0a9deac155d7b.zip
Do not create an unnecessary object file in a test.
llvm-svn: 320773
-rw-r--r--lld/test/ELF/invalid-local-symbol-in-dso.s7
1 files changed, 3 insertions, 4 deletions
diff --git a/lld/test/ELF/invalid-local-symbol-in-dso.s b/lld/test/ELF/invalid-local-symbol-in-dso.s
index b512621e1c2..dc6bff7bd79 100644
--- a/lld/test/ELF/invalid-local-symbol-in-dso.s
+++ b/lld/test/ELF/invalid-local-symbol-in-dso.s
@@ -1,13 +1,12 @@
# REQUIRES: x86
# We used to crash on this
-# RUN: echo | llvm-mc - -o %t1.o -filetype=obj -triple x86_64-pc-linux
-# RUN: ld.lld %t1.o %p/Inputs/local-symbol-in-dso.so -o %t 2>&1 | \
+# RUN: ld.lld %p/Inputs/local-symbol-in-dso.so -o %t 2>&1 | \
# RUN: FileCheck -check-prefix=WARN %s
# WARN: found local symbol 'foo' in global part of symbol table in file {{.*}}local-symbol-in-dso.so
-# RUN: llvm-mc %s -o %t2.o -filetype=obj -triple x86_64-pc-linux
-# RUN: not ld.lld %t2.o %p/Inputs/local-symbol-in-dso.so -o %t
+# RUN: llvm-mc %s -o %t.o -filetype=obj -triple x86_64-pc-linux
+# RUN: not ld.lld %t.o %p/Inputs/local-symbol-in-dso.so -o %t
.globl main
main:
OpenPOWER on IntegriCloud