[lld] r235739 - [Test] Explictly pass target architecture.

Davide Italiano davide at freebsd.org
Fri Apr 24 11:18:35 PDT 2015


Author: davide
Date: Fri Apr 24 13:18:34 2015
New Revision: 235739

URL: http://llvm.org/viewvc/llvm-project?rev=235739&view=rev
Log:
[Test] Explictly pass target architecture.

If we're not being explicit, the test fails on windows.
Reported and tested by Aaron Ballman!

Modified:
    lld/trunk/test/elf/discard-locals.test

Modified: lld/trunk/test/elf/discard-locals.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/discard-locals.test?rev=235739&r1=235738&r2=235739&view=diff
==============================================================================
--- lld/trunk/test/elf/discard-locals.test (original)
+++ lld/trunk/test/elf/discard-locals.test Fri Apr 24 13:18:34 2015
@@ -1,7 +1,7 @@
 # Test that -X/--discard-locals works.
 #
 #RUN: yaml2obj -format=elf %s -o=%t.o
-#RUN: lld -flavor gnu %t.o -shared -X -o %t1
+#RUN: lld -flavor gnu -target x86_64 %t.o -shared -X -o %t1
 #RUN: llvm-objdump -t %t1 | FileCheck %s
 
 #CHECK-NOT: 0000000000400121 l .rodata 00000000 .Lsym8





More information about the llvm-commits mailing list