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:
Rui Ueyama 2013-11-02 01:55:42 +00:00
parent a6b5eec757
commit 9625b5435b
1 changed files with 3 additions and 1 deletions

View File

@ -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