diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-07-28 23:42:57 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-07-28 23:42:57 +0000 |
commit | e963a3814f3f8fde394da263340bc0888011291c (patch) | |
tree | 265b24788441cc2f5ff3429a33d3b48713b582d5 /include/llvm/CodeGen/FunctionLoweringInfo.h | |
parent | 3d8b15ea709ec7fc84e6de191d4eb9858b0b4edf (diff) | |
download | external_llvm-e963a3814f3f8fde394da263340bc0888011291c.zip external_llvm-e963a3814f3f8fde394da263340bc0888011291c.tar.gz external_llvm-e963a3814f3f8fde394da263340bc0888011291c.tar.bz2 |
Add the AddLandingPadInfo function.
AddLandingPadInfo takes a landingpad instruction and grabs all of the
information from it that it needs for EH table generation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136429 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/FunctionLoweringInfo.h')
-rw-r--r-- | include/llvm/CodeGen/FunctionLoweringInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/FunctionLoweringInfo.h b/include/llvm/CodeGen/FunctionLoweringInfo.h index 7eb21b5..280481b 100644 --- a/include/llvm/CodeGen/FunctionLoweringInfo.h +++ b/include/llvm/CodeGen/FunctionLoweringInfo.h @@ -220,6 +220,11 @@ void AddCatchInfo(const CallInst &I, void CopyCatchInfo(const BasicBlock *SuccBB, const BasicBlock *LPad, MachineModuleInfo *MMI, FunctionLoweringInfo &FLI); +/// AddLandingPadInfo - Extract the exception handling information from the +/// landingpad instruction and add them to the specified machine module info. +void AddLandingPadInfo(const LandingPadInst &I, MachineModuleInfo &MMI, + MachineBasicBlock *MBB); + } // end namespace llvm #endif |