[LLJIT] Add std::move() as a workaround for older compilers
Clang 3.8 isn't able to bind the variable to rvalue-ref which breaks the build.
This commit is contained in:
parent
b3998a0edb
commit
b7ce8fa91e
|
@ -928,7 +928,7 @@ Error LLJITBuilderState::prepareForConstruction() {
|
||||||
ES, std::make_unique<jitlink::InProcessMemoryManager>());
|
ES, std::make_unique<jitlink::InProcessMemoryManager>());
|
||||||
ObjLinkingLayer->addPlugin(std::make_unique<EHFrameRegistrationPlugin>(
|
ObjLinkingLayer->addPlugin(std::make_unique<EHFrameRegistrationPlugin>(
|
||||||
jitlink::InProcessEHFrameRegistrar::getInstance()));
|
jitlink::InProcessEHFrameRegistrar::getInstance()));
|
||||||
return ObjLinkingLayer;
|
return std::move(ObjLinkingLayer);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue