commit | d5b5ab76384c9c0e8ff0e3c5575b2877317bf718 | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Thu Sep 24 18:55:33 2015 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Thu Sep 24 18:55:33 2015 +0000 |
tree | 5f1f02339d9a563c3afe367c91bfdba1d197f9f9 | |
parent | 9b788a452b5a6c197c5312e9604e078cf4105293 [diff] [blame] |
[ELF2] Output of all unknown arguments instead of only one. Patch from George Rimar! llvm-svn: 248524
diff --git a/lld/ELF/Error.cpp b/lld/ELF/Error.cpp index 11721b0..e0701f7 100644 --- a/lld/ELF/Error.cpp +++ b/lld/ELF/Error.cpp
@@ -15,6 +15,8 @@ namespace lld { namespace elf2 { +void warning(const Twine &Msg) { llvm::errs() << Msg << "\n"; } + void error(const Twine &Msg) { llvm::errs() << Msg << "\n"; exit(1);