[lld] r246297 - Add a -target to this test.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 06:15:05 PDT 2015


Author: rafael
Date: Fri Aug 28 08:15:05 2015
New Revision: 246297

URL: http://llvm.org/viewvc/llvm-project?rev=246297&view=rev
Log:
Add a -target to this test.

Without it it fails on 32 bit windows.

Modified:
    lld/trunk/test/elf/shndx.test

Modified: lld/trunk/test/elf/shndx.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/shndx.test?rev=246297&r1=246296&r2=246297&view=diff
==============================================================================
--- lld/trunk/test/elf/shndx.test (original)
+++ lld/trunk/test/elf/shndx.test Fri Aug 28 08:15:05 2015
@@ -2,7 +2,7 @@ Test that we can handle shndx. The test
 a few sections. One might consider it invalid, but it has a clear interpretation
 and avoids needing 65K sections to test the corresponding code path.
 
-RUN: lld -flavor gnu %p/Inputs/shndx.o-x86_64 -o %t.so -shared
+RUN: lld -target x86_64-pc-linux -flavor gnu %p/Inputs/shndx.o-x86_64 -o %t.so -shared
 RUN: llvm-readobj -s -t %t.so | FileCheck %s
 
 CHECK:       Name: .text




More information about the llvm-commits mailing list