Stop calling DwarfEHPrepare from WinEHPrepare
authorReid Kleckner <reid@kleckner.net>
Thu, 12 Mar 2015 00:36:20 +0000 (00:36 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 12 Mar 2015 00:36:20 +0000 (00:36 +0000)
commit7dedaabcaecc7d413804591bd7f0dcff1669da33
tree05d802e3b7226584d86208ea6c63a67c45a34ae3
parent9a062b62a768646f2d1ce56513bdf4608971b805
Stop calling DwarfEHPrepare from WinEHPrepare

Instead, run both EH preparation passes, and have them both ignore
functions with unrecognized EH personalities. Pass delegation involved
some hacky code for creating an AnalysisResolver that we don't need now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231995 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LibCallSemantics.h
lib/Analysis/LibCallSemantics.cpp
lib/CodeGen/DwarfEHPrepare.cpp
lib/CodeGen/Passes.cpp
lib/CodeGen/WinEHPrepare.cpp
test/CodeGen/X86/win_eh_prepare.ll