forked from OSchip/llvm-project
Add missing triples so that these tests pass on 32 bit arch.
llvm-svn: 198812
This commit is contained in:
parent
25f3961caf
commit
c15e1b087b
|
@ -1,10 +1,17 @@
|
|||
RUN: lld -flavor gnu -L%p/../elf/Inputs -lfnarchive --output-filetype=yaml --noinhibit-exec 2> %t.err
|
||||
RUN: lld -flavor gnu -target x86_64-linux -L%p/../elf/Inputs -lfnarchive \
|
||||
RUN: --output-filetype=yaml --noinhibit-exec 2> %t.err
|
||||
RUN: FileCheck %s < %t.err
|
||||
RUN: lld -flavor gnu -L%p/../elf/Inputs --whole-archive -lfnarchive --output-filetype=yaml --noinhibit-exec 2> %t1.err
|
||||
|
||||
RUN: lld -flavor gnu -target x86_64-linux -L%p/../elf/Inputs --whole-archive \
|
||||
RUN: -lfnarchive --output-filetype=yaml --noinhibit-exec 2> %t1.err
|
||||
RUN: FileCheck %s -check-prefix="WHOLEARCHIVE" < %t1.err
|
||||
RUN: lld -flavor gnu -L%p/../elf/Inputs --whole-archive --as-needed -lfnarchive --output-filetype=yaml --noinhibit-exec 2> %t2.err
|
||||
|
||||
RUN: lld -flavor gnu -target x86_64-linux -L%p/../elf/Inputs --whole-archive \
|
||||
RUN: --as-needed -lfnarchive --output-filetype=yaml --noinhibit-exec 2> %t2.err
|
||||
RUN: FileCheck %s -check-prefix="ASNEEDED" < %t2.err
|
||||
RUN: lld -flavor gnu --sysroot=%p/../elf -L=/Inputs -lfnarchive --output-filetype=yaml --noinhibit-exec 2> %t3.err
|
||||
|
||||
RUN: lld -flavor gnu -target x86_64-linux --sysroot=%p/../elf -L=/Inputs \
|
||||
RUN: -lfnarchive --output-filetype=yaml --noinhibit-exec 2> %t3.err
|
||||
RUN: FileCheck -check-prefix="SYSROOT" %s < %t3.err
|
||||
|
||||
CHECK: Name : {{[^ ]+}}elf/Inputs{{[\\/]}}libfnarchive.a
|
||||
|
|
|
@ -23,7 +23,9 @@
|
|||
# }
|
||||
# gcc -c main.c fn.c fn1.c
|
||||
|
||||
RUN: lld -flavor gnu --output-filetype=yaml -r %p/Inputs/mainobj.x86_64 %p/Inputs/libfnarchive.a | FileCheck -check-prefix NOFORCELOAD %s
|
||||
RUN: lld -flavor gnu -target x86_64-linux --output-filetype=yaml -r \
|
||||
RUN: %p/Inputs/mainobj.x86_64 %p/Inputs/libfnarchive.a | \
|
||||
RUN: FileCheck -check-prefix NOFORCELOAD %s
|
||||
|
||||
NOFORCELOAD: defined-atoms:
|
||||
NOFORCELOAD: - name: fn
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Tests that atoms are merged by testing it with --merge-strings option
|
||||
RUN: lld -flavor gnu --merge-strings -o %t1 \
|
||||
RUN: lld -flavor gnu -target x86_64-linux --merge-strings -o %t1 \
|
||||
RUN: %p/Inputs/foo.o.x86-64 %p/Inputs/bar.o.x86-64 -e bar1
|
||||
RUN: llvm-objdump -s %t1 | FileCheck -check-prefix=mergeAtoms %s
|
||||
|
||||
|
|
Loading…
Reference in New Issue