mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 15:13:49 -04:00
[ORC] Work around broken GCC/libstdc++ by adding an explicit conversion.
This should fix the bots that have been failing due to r367712. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367921 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -75,7 +75,10 @@ LLJIT::createObjectLinkingLayer(LLJITBuilderState &S, ExecutionSession &ES) {
|
||||
if (S.JTMB->getTargetTriple().isOSBinFormatCOFF())
|
||||
ObjLinkingLayer->setOverrideObjectFlagsWithResponsibilityFlags(true);
|
||||
|
||||
return ObjLinkingLayer;
|
||||
// FIXME: Explicit conversion to std::unique_ptr<ObjectLayer> added to silence
|
||||
// errors from some GCC / libstdc++ bots. Remove this conversion (i.e.
|
||||
// just return ObjLinkingLayer) once those bots are upgraded.
|
||||
return std::unique_ptr<ObjectLayer>(std::move(ObjLinkingLayer));
|
||||
}
|
||||
|
||||
Expected<IRCompileLayer::CompileFunction>
|
||||
|
||||
Reference in New Issue
Block a user