forked from OSchip/llvm-project
[ELF] Add missing -target options.
These tests assume that the created objects are for x86_64. These tests failed on non-x86_64 environments, such as 32 bit Windows. llvm-svn: 193910
This commit is contained in:
parent
d19d0bc5d2
commit
2ccdfb219d
|
@ -8,7 +8,7 @@
|
|||
# }
|
||||
#
|
||||
|
||||
# RUN: lld -flavor gnu %s -e _entrypoint --noinhibit-exec -o %t1
|
||||
# RUN: lld -flavor gnu -target x86_64 %s -e _entrypoint --noinhibit-exec -o %t1
|
||||
# RUN: llvm-nm -n %t1 | FileCheck %s
|
||||
#
|
||||
# CHECK: 004001e0 T main
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
RUN: lld -flavor gnu --merge-strings -r --output-filetype=yaml %p/Inputs/reloc-test.elf-i386 | FileCheck %s -check-prefix ELF-i386
|
||||
RUN: lld -flavor gnu -target x86_64 --merge-strings -r --output-filetype=yaml \
|
||||
RUN: %p/Inputs/reloc-test.elf-i386 | FileCheck %s -check-prefix ELF-i386
|
||||
|
||||
ELF-i386: defined-atoms:
|
||||
ELF-i386: - ref-name: [[STRNAMEA:[-a-zA-Z0-9_]+]]
|
||||
|
|
Loading…
Reference in New Issue