[Test] Explictly pass target architecture.
authorDavide Italiano <davide@freebsd.org>
Fri, 24 Apr 2015 18:18:34 +0000 (18:18 +0000)
committerDavide Italiano <davide@freebsd.org>
Fri, 24 Apr 2015 18:18:34 +0000 (18:18 +0000)
If we're not being explicit, the test fails on windows.
Reported and tested by Aaron Ballman!

llvm-svn: 235739

lld/test/elf/discard-locals.test

index 78c1216..86d112a 100644 (file)
@@ -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