llvm-project/llvm/unittests/ExecutionEngine/Orc
Lang Hames 4cca7d229e [ORC] Rename SymbolSource to MaterializationUnit, and make the materialization
operation all-or-nothing, rather than allowing materialization on a per-symbol
basis.

This addresses a shortcoming of per-symbol materialization: If a
MaterializationUnit (/SymbolSource) wants to materialize more symbols than
requested (which is likely: most materializers will want to materialize whole
modules) then it needs a way to notify the symbol table about the extra symbols
being materialized. This process (checking what has been requested against what
is being provided and notifying the symbol table about the difference) has to
be repeated at every level of the JIT stack. Making materialization
all-or-nothing eliminates this issue, simplifying both materializer
implementations and the symbol table (VSO class) API. The cost is that
per-symbol materialization (e.g. for individual symbols in a module) now
requires multiple MaterializationUnits.

llvm-svn: 327946
2018-03-20 03:49:29 +00:00
..
CMakeLists.txt [ORC] Add orc::SymbolResolver, a Orc/Legacy API interop header, and an 2018-01-22 03:00:31 +00:00
CompileOnDemandLayerTest.cpp [ORC] Start migrating ORC layers to use the new ORC Core.h APIs. 2018-02-06 21:25:11 +00:00
CoreAPIsTest.cpp [ORC] Rename SymbolSource to MaterializationUnit, and make the materialization 2018-03-20 03:49:29 +00:00
GlobalMappingLayerTest.cpp [ORC] Update the GlobalMappingLayer interface to fit the error-ized layer 2017-09-28 02:17:35 +00:00
IndirectionUtilsTest.cpp Re-sort #include lines for unittests. This uses a slightly modified 2017-06-06 11:06:56 +00:00
LazyEmittingLayerTest.cpp [ORC] Start migrating ORC layers to use the new ORC Core.h APIs. 2018-02-06 21:25:11 +00:00
LegacyAPIInteropTest.cpp [ORC] Rename SymbolSource to MaterializationUnit, and make the materialization 2018-03-20 03:49:29 +00:00
ObjectTransformLayerTest.cpp [ORC] Re-apply r327566 with a fix for test-global-ctors.ll. 2018-03-15 00:30:14 +00:00
OrcCAPITest.cpp [ORC] Re-apply r327566 with a fix for test-global-ctors.ll. 2018-03-15 00:30:14 +00:00
OrcTestCommon.cpp [RuntimeDyld] Make RuntimeDyld honor the ProcessAllSections flag. 2017-04-04 17:03:49 +00:00
OrcTestCommon.h [ORC] Update the GlobalMappingLayer interface to fit the error-ized layer 2017-09-28 02:17:35 +00:00
QueueChannel.cpp [Orc] Break QueueChannel out into its own header and add a utility, 2017-04-06 01:49:21 +00:00
QueueChannel.h Re-sort #include lines for unittests. This uses a slightly modified 2017-06-06 11:06:56 +00:00
RPCUtilsTest.cpp [ORC] Add ErrorSuccess and void specializations to AsyncHandlerTraits. 2017-09-07 21:04:00 +00:00
RTDyldObjectLinkingLayerTest.cpp [ORC] Switch RTDyldObjectLinkingLayer to take a unique_ptr<MemoryBuffer> rather 2018-02-21 21:55:49 +00:00
RemoteObjectLayerTest.cpp [ORC] Switch RTDyldObjectLinkingLayer to take a unique_ptr<MemoryBuffer> rather 2018-02-21 21:55:49 +00:00
SymbolStringPoolTest.cpp [ORC] Add dereference operator to SymbolStringPtr. 2018-01-05 00:04:13 +00:00