llvm-capstone/lld/tools/lld
Rui Ueyama 6f4e255219 lld::COFF: better behavior when using as a library
Previously, the COFF driver would call exit(0) when called
as a library.  Now it takes `ExitEarly` option, and if it
is false, it doesn't exit.  So it is now more library-friendly.

Furthermore, link() calls freeArena() before returning, to
clean up resources.

Based on an Andrew Kelley's patch.

Differential Revision: https://reviews.llvm.org/D39202

llvm-svn: 316370
2017-10-23 20:03:32 +00:00
..
CMakeLists.txt MACHO: ld64.lld alias for the MACHO LLD target 2017-10-15 17:41:20 +00:00
lld.cpp lld::COFF: better behavior when using as a library 2017-10-23 20:03:32 +00:00