Add a -target to this test.

Without it it fails on 32 bit windows.

llvm-svn: 246297
This commit is contained in:
Rafael Espindola 2015-08-28 13:15:05 +00:00
parent f00e94546e
commit c20fee5dc5
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ Test that we can handle shndx. The test file has a shndx despite having only
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