mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
This starts in MCJIT::getSymbolAddress where the unique_ptr<object::Binary> is release()d and (after a cast) passed to a single caller, MCJIT::addObjectFile. addObjectFile calls RuntimeDyld::loadObject. RuntimeDld::loadObject calls RuntimeDyldELF::createObjectFromFile And the pointer is never owned at this point. I say this point, because the alternative codepath, RuntimeDyldMachO::createObjectFile certainly does take ownership, so this seemed like a good hint that this was a/the right place to take ownership. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207580 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
ChildTarget | ||
Unix | ||
Windows | ||
CMakeLists.txt | ||
lli.cpp | ||
LLVMBuild.txt | ||
Makefile | ||
RemoteMemoryManager.cpp | ||
RemoteMemoryManager.h | ||
RemoteTarget.cpp | ||
RemoteTarget.h | ||
RemoteTargetExternal.cpp | ||
RemoteTargetExternal.h | ||
RemoteTargetMessage.h | ||
RPCChannel.h |