[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.
This commit is contained in:
Roman Lebedev 2021-01-04 16:42:13 +03:00
parent f67d3dbdb9
commit b4f519bddd
No known key found for this signature in database
GPG Key ID: 083C3EBB4A1689E0
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ bool DwarfEHPrepare::InsertUnwindResumeCalls() {
new UnreachableInst(Ctx, UnwindBB);
if (DTU && RequireAndPreserveDomTree)
DTU->applyUpdatesPermissive(Updates);
DTU->applyUpdates(Updates);
return true;
}