[lld] r193904 - Fix test on 32 bit.
Rui Ueyama
ruiu at google.com
Fri Nov 1 18:55:42 PDT 2013
Author: ruiu
Date: Fri Nov 1 20:55:42 2013
New Revision: 193904
URL: http://llvm.org/viewvc/llvm-project?rev=193904&view=rev
Log:
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.
Modified:
lld/trunk/test/elf/mergeconstants.test
Modified: lld/trunk/test/elf/mergeconstants.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/mergeconstants.test?rev=193904&r1=193903&r2=193904&view=diff
==============================================================================
--- lld/trunk/test/elf/mergeconstants.test (original)
+++ lld/trunk/test/elf/mergeconstants.test Fri Nov 1 20:55:42 2013
@@ -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
More information about the llvm-commits
mailing list