llvm-6502/include/llvm/ExecutionEngine
Lang Hames 7d5ae5bc1f [Orc] Add a JITSymbol class to the Orc APIs, refactor APIs, update clients.
This patch refactors a key piece of the Orc APIs: It removes the
*::getSymbolAddress and *::lookupSymbolAddressIn methods, which returned target
addresses (uint64_ts), and replaces them with *::findSymbol and *::findSymbolIn
respectively, which return instances of the new JITSymbol type. Unlike the old
methods, calling findSymbol or findSymbolIn does not cause the symbol to be
immediately materialized when found. Instead, the symbol will be materialized
if/when the getAddress method is called on the returned JITSymbol. This allows
us to query for the existence of symbols without actually materializing them. In
the future I expect more information to be attached to the JITSymbol class, for
example whether the returned symbol is a weak or strong definition. This will
allow us to properly handle weak symbols and multiple definitions.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228557 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-09 01:20:51 +00:00
..
Orc [Orc] Add a JITSymbol class to the Orc APIs, refactor APIs, update clients. 2015-02-09 01:20:51 +00:00
ExecutionEngine.h [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
GenericValue.h Add support for vector data types in the LLVM interpreter. 2013-04-01 15:53:30 +00:00
Interpreter.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
JITEventListener.h [MCJIT] Replace JITEventListener::anchor (temporarily removed in r222861), and 2014-11-27 01:41:16 +00:00
MCJIT.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ObjectCache.h Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
ObjectMemoryBuffer.h [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
OProfileWrapper.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
OrcMCJITReplacement.h [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
RTDyldMemoryManager.h [Orc] New JIT APIs. 2015-01-23 21:25:00 +00:00
RuntimeDyld.h [RuntimeDyld] Track symbol visibility in RuntimeDyld. 2015-01-16 23:13:56 +00:00
RuntimeDyldChecker.h [RuntimeDyld] Add 'stub_addr' to comment describing RuntimeDyldChecker's syntax. 2015-01-16 20:31:38 +00:00
SectionMemoryManager.h Don't use 'using std::error_code' in include/llvm. 2014-06-12 21:46:39 +00:00