summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineDominanceFrontier.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-01-29 00:41:44 +0000
committerReid Kleckner <reid@kleckner.net>2015-01-29 00:41:44 +0000
commit1185fced3de79e47c14183f8b00dd8e620559da5 (patch)
tree81a9285231fb68b2bf7a5ca4f4b4c6804f650841 /llvm/lib/CodeGen/MachineDominanceFrontier.cpp
parentef61def9d57c10ad5efb38ce6e6bc5b9d3fcba72 (diff)
downloadbcm5719-llvm-1185fced3de79e47c14183f8b00dd8e620559da5.tar.gz
bcm5719-llvm-1185fced3de79e47c14183f8b00dd8e620559da5.zip
Add a Windows EH preparation pass that zaps resumes
If the personality is not a recognized MSVC personality function, this pass delegates to the dwarf EH preparation pass. This chaining supports people on *-windows-itanium or *-windows-gnu targets. Currently this recognizes some personalities used by MSVC and turns resume instructions into traps to avoid link errors. Even if cleanups are not used in the source program, LLVM requires the frontend to emit a code path that resumes unwinding after an exception. Clang does this, and we get unreachable resume instructions. PR20300 covers cleaning up these unreachable calls to resume. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D7216 llvm-svn: 227405
Diffstat (limited to 'llvm/lib/CodeGen/MachineDominanceFrontier.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud