This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Only require DT in DwarfEHPrepare if > CodeGenOpt::None.
Needs ReviewPublic

Authored by ab on Apr 3 2017, 7:23 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

The pass only uses DT in isPotentiallyReachable, to erase unreachable
resumes. Not having DT available should still produce valid, though
conservative, results.

Instead, only add DT to the pipeline if > CodeGenOpt::None.

Diff Detail