1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/examples/Kaleidoscope
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
..
BuildingAJIT [ExecutionEngine][MCJIT][Orc] Replace RuntimeDyld::SymbolInfo with JITSymbol. 2016-08-01 20:49:11 +00:00
Chapter2 Fix some Clang-tidy modernize-use-bool-literals and Include What You Use warnings in examples; other minor fixes. 2016-05-19 01:08:04 +00:00
Chapter3 [Kaleidoscope] Fix static global ordering to prevent crash on exit. 2016-05-22 22:48:36 +00:00
Chapter4 [Kaleidoscope] Fix static global ordering to prevent crash on exit. 2016-05-22 22:48:36 +00:00
Chapter5 [Kaleidoscope] Fix static global ordering to prevent crash on exit. 2016-05-22 22:48:36 +00:00
Chapter6 [Kaleidoscope] Fix static global ordering to prevent crash on exit. 2016-05-22 22:48:36 +00:00
Chapter7 [Kaleidoscope] Fix static global ordering to prevent crash on exit. 2016-05-22 22:48:36 +00:00
Chapter8 New Kaleidoscope chapter: Creating object files 2016-07-02 17:01:59 +00:00
Chapter9 New Kaleidoscope chapter: Creating object files 2016-07-02 17:01:59 +00:00
include [ExecutionEngine][MCJIT][Orc] Replace RuntimeDyld::SymbolInfo with JITSymbol. 2016-08-01 20:49:11 +00:00
MCJIT Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
CMakeLists.txt [Kaleidoscope][Orc] Remove the reference to the Orc directory that was removed 2016-05-27 22:21:12 +00:00