1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/unittests/ExecutionEngine/Orc
Lang Hames 0c2a797c97 [ORC] Add a special 'main' JITDylib that is created on ExecutionSession
construction, a new convenience lookup method, and add-to layer methods.

ExecutionSession now creates a special 'main' JITDylib upon construction. All
subsequently created JITDylibs are added to the main JITDylib's search order by
default (controlled by the AddToMainDylibSearchOrder parameter to
ExecutionSession::createDylib). The main JITDylib's search order will be used in
the future to properly handle cross-JITDylib weak symbols, with the first
definition in this search order selected.

This commit also adds a new ExecutionSession::lookup convenience method that
performs a blocking lookup using the main JITDylib's search order, as this will
be a very common operation for clients.

Finally, new convenience overloads of IRLayer and ObjectLayer's add methods are
introduced that add the given program representations to the main dylib, which
is likely to be the common case.

llvm-svn: 342086
2018-09-12 21:48:59 +00:00
..
CMakeLists.txt [ORC] Add unit tests for the new RTDyldObjectLinkingLayer2 class. 2018-08-27 22:30:57 +00:00
CompileOnDemandLayerTest.cpp [ORC] Use JITEvaluatedSymbol for IndirectStubsManager findStub and findPointer. 2018-06-03 02:18:03 +00:00
CoreAPIsTest.cpp [ORC] Add a special 'main' JITDylib that is created on ExecutionSession 2018-09-12 21:48:59 +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
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] Tidy up JITSymbolFlags to remove the need for some explicit static_casts. 2018-09-02 01:28:26 +00:00
ObjectTransformLayerTest.cpp [ORC] Create a new SymbolStringPool by default in ExecutionSession constructor. 2018-04-02 20:57:56 +00:00
OrcCAPITest.cpp [ORC] Add findSymbolIn() wrapper to C bindings, take #2. 2018-05-24 18:44:34 +00:00
OrcTestCommon.cpp [ORC] Replace SymbolResolvers in the new ORC layers with search orders on VSOs. 2018-07-20 18:31:50 +00:00
OrcTestCommon.h [ORC] Add a special 'main' JITDylib that is created on ExecutionSession 2018-09-12 21:48:59 +00:00
QueueChannel.cpp
QueueChannel.h
RemoteObjectLayerTest.cpp [ORC] Switch RTDyldObjectLinkingLayer to take a unique_ptr<MemoryBuffer> rather 2018-02-21 21:55:49 +00:00
RPCUtilsTest.cpp [ORC] Add SerializationTraits for std::set and std::map. 2018-07-30 21:08:06 +00:00
RTDyldObjectLinkingLayer2Test.cpp [ORC] Make RuntimeDyldObjectLinkingLayer2 take memory managers by unique_ptr. 2018-09-06 19:39:26 +00:00
RTDyldObjectLinkingLayerTest.cpp Remove some unnecessary constructor arguments. 2018-09-05 20:57:41 +00:00
SymbolStringPoolTest.cpp [ORC] Add dereference operator to SymbolStringPtr. 2018-01-05 00:04:13 +00:00