Reviewers: gchatelet
Subscribers: tschuett, llvm-commits
Differential Revision: https://reviews.llvm.org/D45625
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330026
91177308-0d34-0410-b5e6-
96231b3b80d8
// Adding the generated object file containing the assembled function.
// The ExecutionEngine makes sure the object file is copied into an
// executable page.
- ExecEngine->addObjectFile(ObjHolder.takeBinary().first);
+ ExecEngine->addObjectFile(std::move(ObjHolder));
// Setting function
FunctionBytes =
llvm::StringRef(reinterpret_cast<const char *>(