]> granicus.if.org Git - llvm/commit
Reland r229944: EH: Prune unreachable resume instructions during Dwarf EH preparation
authorReid Kleckner <reid@kleckner.net>
Mon, 9 Mar 2015 22:45:16 +0000 (22:45 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 9 Mar 2015 22:45:16 +0000 (22:45 +0000)
commit4c27f8d49ee8755c9083a6313090d7afd0dda5cf
tree4257c49e7c27fee4d9d57702f10aa08bc9136baf
parent9e065f52fcf0c77f7375f7f354069684de56e6d4
Reland r229944: EH: Prune unreachable resume instructions during Dwarf EH preparation

Fix the double-deletion of AnalysisResolver when delegating through to
Dwarf EH preparation by creating one from scratch. Hopefully the new
pass manager simplifies this.

This reverts commit r229952.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231719 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Passes.h
lib/CodeGen/CodeGen.cpp
lib/CodeGen/DwarfEHPrepare.cpp
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/Mips/eh.ll
test/CodeGen/X86/dwarf-eh-prepare.ll
test/CodeGen/X86/gcc_except_table.ll
test/CodeGen/X86/gcc_except_table_functions.ll
test/CodeGen/XCore/exception.ll