llvm-6502/examples
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
..
BrainF Fix configure and make build of llvm examples. 2014-09-03 13:12:16 +00:00
ExceptionDemo ExceptionDemo: Let setMCJITMemoryManager() take unique_ptr, since r223183. 2014-12-03 02:05:51 +00:00
Fibonacci Fix configure and make build of llvm examples. 2014-09-03 13:12:16 +00:00
HowToUseJIT Fix configure and make build of llvm examples. 2014-09-03 13:12:16 +00:00
Kaleidoscope [Orc] Add a JITSymbol class to the Orc APIs, refactor APIs, update clients. 2015-02-09 01:20:51 +00:00
ModuleMaker [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
OCaml-Kaleidoscope Move TargetData to DataLayout. 2012-10-08 16:37:04 +00:00
ParallelJIT [CMake] llvm/examples: Update libdeps for unoptimized builds. 2014-10-31 15:27:16 +00:00
CMakeLists.txt Don't try to build ExceptionDemo on ARM. 2014-02-12 21:47:15 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile