forked from OSchip/llvm-project
Fix test on 32 bit.
This patch adds "-target x86_64" to the command line. Without this option, a 32 bit object file would be created on 32 bit machine, resulting in test failure. llvm-svn: 193904
This commit is contained in:
parent
a6b5eec757
commit
9625b5435b
|
@ -1,5 +1,7 @@
|
|||
# The test checks for mergeable strings that appear in the object file
|
||||
RUN: lld -flavor gnu --merge-strings --output-filetype=yaml %p/Inputs/constants-merge.x86-64 --noinhibit-exec | FileCheck -check-prefix=mergeAtoms %s
|
||||
RUN: lld -flavor gnu --merge-strings --output-filetype=yaml -target x86_64 \
|
||||
RUN: %p/Inputs/constants-merge.x86-64 --noinhibit-exec \
|
||||
RUN: | FileCheck -check-prefix=mergeAtoms %s
|
||||
|
||||
mergeAtoms: - ref-name: [[CONSTANT:[-a-zA-Z0-9_]+]]
|
||||
mergeAtoms: type: constant
|
||||
|
|
Loading…
Reference in New Issue