hanchenye-llvm-project/llvm/tools/llvm-jitlink
Lang Hames adbc7a2665 [llvm-jitlink] Don't add process symbols to every JITDylib.
The addProcessSymbols function added a generator for process symbols to every
JITDylib in the session, but this is unhelpful default behavior (e.g. it will
cause the ORC runtime's definition of __cxa_atexit to be shadowed by the
process's definition for all JITDylibs except main).

Since the loadProcessSymbols function already added a generator to main we only
need to drop this function. Other JITDylibs wishing to resolve process symbols
can link against the main JITDylib by passing `-lmain`.
2022-02-08 16:18:43 +11:00
..
llvm-jitlink-executor Revert "[ORC] Move SimpleRemoteEPCServer::Dispatcher into OrcShared." 2021-10-08 13:43:42 -07:00
CMakeLists.txt
llvm-jitlink-elf.cpp Re-apply "[JITLink] Update JITLink to use ExecutorAddr rather... " with fixes. 2022-01-06 17:22:21 +11:00
llvm-jitlink-macho.cpp Re-apply "[JITLink] Update JITLink to use ExecutorAddr rather... " with fixes. 2022-01-06 17:22:21 +11:00
llvm-jitlink.cpp [llvm-jitlink] Don't add process symbols to every JITDylib. 2022-02-08 16:18:43 +11:00
llvm-jitlink.h [ORC] Add custom object interface support to StaticLibaryDefinitionGenerator. 2021-12-16 19:46:51 +11:00