llvm-project/lld/MinGW
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 lld: Reorder libdeps. 2017-10-11 23:18:43 +00:00
Driver.cpp lld::COFF: better behavior when using as a library 2017-10-23 20:03:32 +00:00
Options.td [MinGW] Hook up the --export-all-symbols and --output-def options 2017-10-12 05:37:18 +00:00