llvm-project/llvm/tools/lli
Lang Hames bf9d1aa931 [RuntimeDyld] Call the SymbolResolver::findSymbolInLogicalDylib method when
searching for external symbols, and fall back to the SymbolResolver::findSymbol
method if the former returns null.

This makes RuntimeDyld behave more like a static linker: Symbol definitions
from within the current module's "logical dylib" will be preferred to
external definitions. We can build on this behavior in the future to properly
support weak symbol handling.

Custom symbol resolvers that override the findSymbolInLogicalDylib method may
notice changes due to this patch. Clients who have not overridden this method
should generally be unaffected, however users of the OrcMCJITReplacement class
may notice changes.

llvm-svn: 270716
2016-05-25 16:23:59 +00:00
..
ChildTarget [Orc] Fix missing rename from r268845. 2016-05-07 03:48:56 +00:00
CMakeLists.txt [LLI] Replace the LLI remote-JIT support with the new ORC remote-JIT components. 2016-01-11 16:35:55 +00:00
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
OrcLazyJIT.cpp [Orc] Rename OrcArchitectureSupport to OrcABISupport and add Win32 ABI support. 2016-05-07 03:36:38 +00:00
OrcLazyJIT.h [RuntimeDyld] Call the SymbolResolver::findSymbolInLogicalDylib method when 2016-05-25 16:23:59 +00:00
RemoteJITUtils.h [lli] Fix a sign-compare warning. 2016-04-26 01:45:25 +00:00
lli.cpp [RuntimeDyld] Call the SymbolResolver::findSymbolInLogicalDylib method when 2016-05-25 16:23:59 +00:00