diff --git a/llvm/lib/CodeGen/DwarfEHPrepare.cpp b/llvm/lib/CodeGen/DwarfEHPrepare.cpp index c1b764214546..97e0162f35a1 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; }