1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/examples
Lang Hames 9a3ce89b6d [ExecutionEngine][MCJIT][Orc] Replace RuntimeDyld::SymbolInfo with JITSymbol.
This patch replaces RuntimeDyld::SymbolInfo with JITSymbol: A symbol class
that is capable of lazy materialization (i.e. the symbol definition needn't be
emitted until the address is requested). This can be used to support common
and weak symbols in the JIT (though this is not implemented in this patch).

For consistency, RuntimeDyld::SymbolResolver is renamed to JITSymbolResolver.

For space efficiency a new class, JITEvaluatedSymbol, is introduced that
behaves like the old RuntimeDyld::SymbolInfo - i.e. it is just a pair of an
address and symbol flags. Instances of JITEvaluatedSymbol can be used in
symbol-tables to avoid paying the space cost of the materializer.

llvm-svn: 277386
2016-08-01 20:49:11 +00:00
..
BrainF Fix some Include What You Use warnings in examples; other minor fixes. 2016-05-25 01:18:36 +00:00
ExceptionDemo Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
Fibonacci [MCJIT] Update MCJIT and get the fibonacci example working again. 2016-06-11 05:47:04 +00:00
HowToUseJIT Fix some Include What You Use warnings in examples; other minor fixes. 2016-05-25 01:18:36 +00:00
Kaleidoscope [ExecutionEngine][MCJIT][Orc] Replace RuntimeDyld::SymbolInfo with JITSymbol. 2016-08-01 20:49:11 +00:00
ModuleMaker Fix some Include What You Use warnings in examples; other minor fixes. 2016-05-25 01:18:36 +00:00
OCaml-Kaleidoscope Remove autoconf support 2016-01-26 21:29:08 +00:00
ParallelJIT Fix some Include What You Use warnings in examples; other minor fixes. 2016-05-25 01:18:36 +00:00
CMakeLists.txt [CMake] Let ExceptionDemo buildable with ENABLE_EH. 2015-08-27 15:13:14 +00:00
LLVMBuild.txt