From: Roman Lebedev Date: Mon, 4 Jan 2021 13:42:13 +0000 (+0300) Subject: [NFCI] DwarfEHPrepare: update DomTree in non-permissive mode, when present X-Git-Tag: llvmorg-13-init~2137 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4f519bddda853443405d21728154c481837e18b;p=platform%2Fupstream%2Fllvm.git [NFCI] DwarfEHPrepare: update DomTree in non-permissive mode, when present Being stricter will catch issues that would be just papered over in permissive mode, and is likely faster. --- diff --git a/llvm/lib/CodeGen/DwarfEHPrepare.cpp b/llvm/lib/CodeGen/DwarfEHPrepare.cpp index c1b7642..97e0162 100644 --- a/llvm/lib/CodeGen/DwarfEHPrepare.cpp +++ b/llvm/lib/CodeGen/DwarfEHPrepare.cpp @@ -243,7 +243,7 @@ bool DwarfEHPrepare::InsertUnwindResumeCalls() { new UnreachableInst(Ctx, UnwindBB); if (DTU && RequireAndPreserveDomTree) - DTU->applyUpdatesPermissive(Updates); + DTU->applyUpdates(Updates); return true; }