[EH] Handle non-Function personalities like unknown personalities
authorReid Kleckner <rnk@google.com>
Mon, 31 Aug 2015 20:02:16 +0000 (20:02 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 31 Aug 2015 20:02:16 +0000 (20:02 +0000)
commit7174af9bacf00df9bd8574bf60fe44f07cdf8e6c
treebab1bbc8d7b614a3ddd53ff592750fd33b5cf869
parentbf9ec6af4819a085acaf3d3c472776297bab569c
[EH] Handle non-Function personalities like unknown personalities

Also delete and simplify a lot of MachineModuleInfo code that used to be
needed to handle personalities on landingpads.  Now that the personality
is on the LLVM Function, we no longer need to track it this way on MMI.
Certainly it should not live on LandingPadInfo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246478 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineModuleInfo.h
lib/Analysis/LibCallSemantics.cpp
lib/CodeGen/AsmPrinter/ARMException.cpp
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
lib/CodeGen/MachineModuleInfo.cpp
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Target/PowerPC/PPCAsmPrinter.cpp
test/CodeGen/X86/eh-null-personality.ll [new file with mode: 0644]