[PATCH] D39259: [lld] unified COFF and ELF error handling on new Common/ErrorHandler
Bob Haarman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 14:08:32 PDT 2017
inglorion created this revision.
Herald added subscribers: fedor.sergeev, kbarton, javed.absar, mgorny, nhaehnle, nemanjai, sdardis, emaste, jyknight.
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.
https://reviews.llvm.org/D39259
Files:
lld/COFF/CMakeLists.txt
lld/COFF/Chunks.cpp
lld/COFF/Config.h
lld/COFF/Driver.cpp
lld/COFF/DriverUtils.cpp
lld/COFF/Error.cpp
lld/COFF/Error.h
lld/COFF/ICF.cpp
lld/COFF/InputFiles.cpp
lld/COFF/LTO.cpp
lld/COFF/MapFile.cpp
lld/COFF/MinGW.cpp
lld/COFF/PDB.cpp
lld/COFF/SymbolTable.cpp
lld/COFF/Symbols.cpp
lld/COFF/Writer.cpp
lld/Common/CMakeLists.txt
lld/Common/ErrorHandler.cpp
lld/ELF/Arch/AArch64.cpp
lld/ELF/Arch/AMDGPU.cpp
lld/ELF/Arch/ARM.cpp
lld/ELF/Arch/AVR.cpp
lld/ELF/Arch/Mips.cpp
lld/ELF/Arch/MipsArchTree.cpp
lld/ELF/Arch/PPC.cpp
lld/ELF/Arch/PPC64.cpp
lld/ELF/Arch/SPARCV9.cpp
lld/ELF/Arch/X86.cpp
lld/ELF/Arch/X86_64.cpp
lld/ELF/CMakeLists.txt
lld/ELF/Config.h
lld/ELF/Driver.cpp
lld/ELF/DriverUtils.cpp
lld/ELF/EhFrame.cpp
lld/ELF/Error.cpp
lld/ELF/Error.h
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h
lld/ELF/InputSection.cpp
lld/ELF/LTO.cpp
lld/ELF/Relocations.cpp
lld/ELF/ScriptLexer.cpp
lld/ELF/ScriptParser.cpp
lld/ELF/Strings.cpp
lld/ELF/SymbolTable.cpp
lld/ELF/Symbols.cpp
lld/ELF/SyntheticSections.cpp
lld/ELF/Target.cpp
lld/ELF/Target.h
lld/ELF/Thunks.cpp
lld/ELF/Writer.cpp
lld/include/lld/Common/ErrorHandler.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39259.120133.patch
Type: text/x-patch
Size: 60290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171024/2123fcda/attachment-0001.bin>
More information about the llvm-commits
mailing list