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/lib/Core/LinkingContext.cpp | |
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/lib/Core/LinkingContext.cpp')
-rw-r--r-- | lld/lib/Core/LinkingContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Core/LinkingContext.cpp b/lld/lib/Core/LinkingContext.cpp index 59f0aac06fc..c049d2a256d 100644 --- a/lld/lib/Core/LinkingContext.cpp +++ b/lld/lib/Core/LinkingContext.cpp @@ -24,7 +24,7 @@ LinkingContext::LinkingContext() _warnIfCoalesableAtomsHaveDifferentLoadName(false), _printRemainingUndefines(true), _allowRemainingUndefines(false), _logInputFiles(false), - _allowShlibUndefines(false) {} + _allowShlibUndefines(false), _outputFileType(OutputFileType::Default) {} LinkingContext::~LinkingContext() {} |