diff options
author | Shankar Easwaran <shankare@codeaurora.org> | 2013-09-23 04:24:15 +0000 |
---|---|---|
committer | Shankar Easwaran <shankare@codeaurora.org> | 2013-09-23 04:24:15 +0000 |
commit | 7915ff34b7022018cf03bf8f18b4a849bfab3b62 (patch) | |
tree | f952674879402946ac622085c5ca050c8358ce4a /lld/test/elf/mergeconstants.test | |
parent | 90061908f669864e95715edefa97ab3419bbdb13 (diff) | |
download | bcm5719-llvm-7915ff34b7022018cf03bf8f18b4a849bfab3b62.tar.gz bcm5719-llvm-7915ff34b7022018cf03bf8f18b4a849bfab3b62.zip |
[lld][LinkingContext][ELF] Allow different output file types.
This adds an option --output-filetype that can be set to either
YAML/Native(case insensitive). The linker would create the outputs
associated with the type specified by the user.
Changes all the tests to use the new option.
llvm-svn: 191183
Diffstat (limited to 'lld/test/elf/mergeconstants.test')
-rw-r--r-- | lld/test/elf/mergeconstants.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/elf/mergeconstants.test b/lld/test/elf/mergeconstants.test index 08d41073e60..b5b0872769a 100644 --- a/lld/test/elf/mergeconstants.test +++ b/lld/test/elf/mergeconstants.test @@ -1,5 +1,5 @@ # The test checks for mergeable strings that appear in the object file -RUN: lld -flavor gnu --merge-strings -emit-yaml %p/Inputs/constants-merge.x86-64 --noinhibit-exec | FileCheck -check-prefix=mergeAtoms %s +RUN: lld -flavor gnu --merge-strings --output-filetype=yaml %p/Inputs/constants-merge.x86-64 --noinhibit-exec | FileCheck -check-prefix=mergeAtoms %s mergeAtoms: - ref-name: [[CONSTANT:[-a-zA-Z0-9_]+]] mergeAtoms: type: constant |