Lines Matching refs:Err
35 if (auto Err = runPasses(Passes.PrePrunePasses))
36 return Ctx->notifyFailed(std::move(Err));
51 if (auto Err = runPasses(Passes.PostPrunePasses))
52 return Ctx->notifyFailed(std::move(Err));
58 if (auto Err = allocateSegments(Layout))
59 return Ctx->notifyFailed(std::move(Err));
103 if (auto Err = copyAndFixUpBlocks(Layout, *Alloc))
104 return deallocateAndBailOut(std::move(Err));
111 if (auto Err = runPasses(Passes.PostFixupPasses))
112 return deallocateAndBailOut(std::move(Err));
116 auto Phase3Continuation = [UnownedSelf](Error Err) {
118 UnownedSelf->linkPhase3(std::move(Self), std::move(Err));
124 void JITLinkerBase::linkPhase3(std::unique_ptr<JITLinkerBase> Self, Error Err) {
125 if (Err)
126 return deallocateAndBailOut(std::move(Err));
132 if (auto Err = P(*G))
133 return Err;
305 void JITLinkerBase::deallocateAndBailOut(Error Err) {
306 assert(Err && "Should not be bailing out on success value");
308 Ctx->notifyFailed(joinErrors(std::move(Err), Alloc->deallocate()));