diff options
author | Bob Haarman <llvm@inglorion.net> | 2017-10-25 22:28:38 +0000 |
---|---|---|
committer | Bob Haarman <llvm@inglorion.net> | 2017-10-25 22:28:38 +0000 |
commit | b8a59c8aa5ff25aa21a64169c1870d988401cd53 (patch) | |
tree | e8c92ab03251381c760718413916ddee9bd4574a /lld/ELF/Arch/PPC.cpp | |
parent | 5e6cb9022c5c87f3ecf593f3210d15fd25467342 (diff) | |
download | bcm5719-llvm-b8a59c8aa5ff25aa21a64169c1870d988401cd53.tar.gz bcm5719-llvm-b8a59c8aa5ff25aa21a64169c1870d988401cd53.zip |
[lld] unified COFF and ELF error handling on new Common/ErrorHandler
Summary:
The COFF linker and the ELF linker have long had similar but separate
Error.h and Error.cpp files to implement error handling. This change
introduces new error handling code in Common/ErrorHandler.h, changes the
COFF and ELF linkers to use it, and removes the old, separate
implementations.
Reviewers: ruiu
Reviewed By: ruiu
Subscribers: smeenai, jyknight, emaste, sdardis, nemanjai, nhaehnle, mgorny, javed.absar, kbarton, fedor.sergeev, llvm-commits
Differential Revision: https://reviews.llvm.org/D39259
llvm-svn: 316624
Diffstat (limited to 'lld/ELF/Arch/PPC.cpp')
-rw-r--r-- | lld/ELF/Arch/PPC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Arch/PPC.cpp b/lld/ELF/Arch/PPC.cpp index b505788aca9..d825f5776c6 100644 --- a/lld/ELF/Arch/PPC.cpp +++ b/lld/ELF/Arch/PPC.cpp @@ -7,9 +7,9 @@ // //===----------------------------------------------------------------------===// -#include "Error.h" #include "Symbols.h" #include "Target.h" +#include "lld/Common/ErrorHandler.h" #include "llvm/Support/Endian.h" using namespace llvm; |