bool DebugSectionSeen = false;
auto MM = std::make_shared<MemoryManagerWrapper>(DebugSectionSeen);
- ExecutionSession ES(std::make_shared<SymbolStringPool>());
+ ExecutionSession ES;
auto &JD = ES.createJITDylib("main");
auto Foo = ES.getSymbolStringPool().intern("foo");
return;
LLVMContext Context;
- ExecutionSession ES(std::make_shared<SymbolStringPool>());
+ ExecutionSession ES;
auto &JD = ES.createJITDylib("main");
auto Foo = ES.getSymbolStringPool().intern("foo");
if (!TM)
return;
- ExecutionSession ES(std::make_shared<SymbolStringPool>());
+ ExecutionSession ES;
auto &JD = ES.createJITDylib("main");
auto Foo = ES.getSymbolStringPool().intern("foo");
}
TEST(RTDyldObjectLinkingLayer2Test, TestNotifyLoadedSignature) {
- ExecutionSession ES(std::make_shared<SymbolStringPool>());
+ ExecutionSession ES;
RTDyldObjectLinkingLayer2 ObjLayer(
ES,
[](VModuleKey) -> std::shared_ptr<RuntimeDyld::MemoryManager> {
bool DebugSectionSeen = false;
auto MM = std::make_shared<MemoryManagerWrapper>(DebugSectionSeen);
- ExecutionSession ES(std::make_shared<SymbolStringPool>());
+ ExecutionSession ES;
RTDyldObjectLinkingLayer ObjLayer(ES, [&MM](VModuleKey) {
return RTDyldObjectLinkingLayer::Resources{
if (!SupportsJIT)
return;
- ExecutionSession ES(std::make_shared<SymbolStringPool>());
+ ExecutionSession ES;
auto MM = std::make_shared<SectionMemoryManagerWrapper>();
if (!SupportsJIT)
return;
- ExecutionSession ES(std::make_shared<SymbolStringPool>());
+ ExecutionSession ES;
auto MM = std::make_shared<SectionMemoryManagerWrapper>();
}
TEST_F(RTDyldObjectLinkingLayerExecutionTest, TestNotifyLoadedSignature) {
- ExecutionSession ES(std::make_shared<SymbolStringPool>());
+ ExecutionSession ES;
RTDyldObjectLinkingLayer ObjLayer(
ES,
[](VModuleKey) {