diff options
author | Rui Ueyama <ruiu@google.com> | 2013-11-02 01:55:42 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-11-02 01:55:42 +0000 |
commit | 9625b5435b604b4ef7e7cb1398eca02ccb5abdc4 (patch) | |
tree | 4a976d8372e3703703e9705a1a80a6b3a04e1b66 | |
parent | a6b5eec7574c863975022f68a2c0c6827e1806b2 (diff) | |
download | llvm-9625b5435b604b4ef7e7cb1398eca02ccb5abdc4.zip llvm-9625b5435b604b4ef7e7cb1398eca02ccb5abdc4.tar.gz llvm-9625b5435b604b4ef7e7cb1398eca02ccb5abdc4.tar.bz2 |
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
-rw-r--r-- | lld/test/elf/mergeconstants.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lld/test/elf/mergeconstants.test b/lld/test/elf/mergeconstants.test index b5b0872..a8f3ef5 100644 --- a/lld/test/elf/mergeconstants.test +++ b/lld/test/elf/mergeconstants.test @@ -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 |