llvm/lld/Common
Fangrui Song 941f06282a [lld] Make error handling functions opaque
The inline `lld::error` expands to two function calls `errorHandler` and `error`
where the latter is opaque. Move the functions to .cpp files to decrease code
size.

My x86-64 lld executable is 9KiB smaller.

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D120002
2022-02-17 11:54:57 -08:00
..
Args.cpp
CMakeLists.txt Re-land [LLD] Remove global state in lldCommon 2022-01-20 14:53:26 -05:00
CommonLinkerContext.cpp [lld-macho] Don't include CommandFlags.h in CommonLinkerContext.h 2022-02-16 20:05:07 -05:00
DWARF.cpp
ErrorHandler.cpp [lld] Make error handling functions opaque 2022-02-17 11:54:57 -08:00
Filesystem.cpp
Memory.cpp Re-land [LLD] Remove global state in lldCommon 2022-01-20 14:53:26 -05:00
Reproduce.cpp
Strings.cpp [lld] Add support for other demanglers other than Itanium 2022-01-05 03:25:41 +00:00
TargetOptionsCommandFlags.cpp Re-land [LLD] Remove global state in lldCommon 2022-01-20 14:53:26 -05:00
Timer.cpp Add missing include to fix modular build 2022-01-20 08:33:44 -08:00
Version.cpp