diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-08-28 13:15:05 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-08-28 13:15:05 +0000 |
commit | c20fee5dc57a66bea6dee24068ca3c4fe8a6ecec (patch) | |
tree | 9e8499bad4cd121e916fed11b4408f40d03d0d7f | |
parent | f00e94546e3630d33cbcd963af70f31320980537 (diff) | |
download | bcm5719-llvm-c20fee5dc57a66bea6dee24068ca3c4fe8a6ecec.tar.gz bcm5719-llvm-c20fee5dc57a66bea6dee24068ca3c4fe8a6ecec.zip |
Add a -target to this test.
Without it it fails on 32 bit windows.
llvm-svn: 246297
-rw-r--r-- | lld/test/elf/shndx.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/elf/shndx.test b/lld/test/elf/shndx.test index 3958f1a7f2a..ddd8b1b23b6 100644 --- a/lld/test/elf/shndx.test +++ b/lld/test/elf/shndx.test @@ -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 |