Add a -target to this test.
Without it it fails on 32 bit windows. llvm-svn: 246297
This commit is contained in:
@@ -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
|
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.
|
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
|
RUN: llvm-readobj -s -t %t.so | FileCheck %s
|
||||||
|
|
||||||
CHECK: Name: .text
|
CHECK: Name: .text
|
||||||
|
|||||||
Reference in New Issue
Block a user