[lld] r221505 - Add missing -target triple to ELF tests.
Rui Ueyama
ruiu at google.com
Thu Nov 6 17:45:32 PST 2014
Author: ruiu
Date: Thu Nov 6 19:45:32 2014
New Revision: 221505
URL: http://llvm.org/viewvc/llvm-project?rev=221505&view=rev
Log:
Add missing -target triple to ELF tests.
Modified:
lld/trunk/test/elf/mergeglobalatoms.test
lld/trunk/test/elf/stripped-empty.test
Modified: lld/trunk/test/elf/mergeglobalatoms.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/mergeglobalatoms.test?rev=221505&r1=221504&r2=221505&view=diff
==============================================================================
--- lld/trunk/test/elf/mergeglobalatoms.test (original)
+++ lld/trunk/test/elf/mergeglobalatoms.test Thu Nov 6 19:45:32 2014
@@ -1,7 +1,7 @@
# ELF files can have mergeable strings which are global!, treat them as global
# defined atoms
RUN: lld -flavor gnu --output-filetype=yaml %p/Inputs/globalconst.o.x86-64 \
-RUN: --noinhibit-exec | FileCheck -check-prefix=globalatoms %s
+RUN: --noinhibit-exec -target x86_64 | FileCheck -check-prefix=globalatoms %s
globalatoms: - name: mystr
globalatoms: scope: global
Modified: lld/trunk/test/elf/stripped-empty.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/stripped-empty.test?rev=221505&r1=221504&r2=221505&view=diff
==============================================================================
--- lld/trunk/test/elf/stripped-empty.test (original)
+++ lld/trunk/test/elf/stripped-empty.test Thu Nov 6 19:45:32 2014
@@ -1,3 +1,4 @@
-RUN: lld -flavor gnu -shared -o test.so %p/Inputs/stripped-empty.x86_64
+RUN: lld -flavor gnu -shared -o test.so \
+RUN: -target x86_64 %p/Inputs/stripped-empty.x86_64
test that we handle files without a symbol table.
More information about the llvm-commits
mailing list