projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f67d3db
)
[NFCI] DwarfEHPrepare: update DomTree in non-permissive mode, when present
author
Roman Lebedev
<lebedev.ri@gmail.com>
Mon, 4 Jan 2021 13:42:13 +0000
(16:42 +0300)
committer
Roman Lebedev
<lebedev.ri@gmail.com>
Mon, 4 Jan 2021 22:26:36 +0000
(
01:26
+0300)
Being stricter will catch issues that would be just papered over
in permissive mode, and is likely faster.
llvm/lib/CodeGen/DwarfEHPrepare.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/DwarfEHPrepare.cpp
b/llvm/lib/CodeGen/DwarfEHPrepare.cpp
index c1b764214546d4491657e77256aa3944fa393e5e..97e0162f35a16d30792a82b7f5050a90863196f7 100644
(file)
--- 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->applyUpdates
Permissive
(Updates);
+ DTU->applyUpdates(Updates);
return true;
}