llvm.org GIT mirror llvm / 3619728
Fix gold plugin after Error API changes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286571 91177308-0d34-0410-b5e6-96231b3b80d8 Mehdi Amini 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
391391 }
392392
393393 static void check(Error E, std::string Msg = "LLVM gold plugin") {
394 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) {
394 handleAllErrors(std::move(E), [&](ErrorInfoBase &EIB) -> Error {
395395 message(LDPL_FATAL, "%s: %s", Msg.c_str(), EIB.message().c_str());
396396 return Error::success();
397397 });