mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Collect eh filter info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -960,6 +960,8 @@ struct LandingPadInfo {
|
||||
unsigned LandingPadLabel; // Label at beginning of landing pad.
|
||||
Function *Personality; // Personality function.
|
||||
std::vector<unsigned> TypeIds; // List of type ids.
|
||||
bool IsFilter; // Indicate if the landing pad is a
|
||||
// throw filter.
|
||||
|
||||
LandingPadInfo(MachineBasicBlock *MBB)
|
||||
: LandingPadBlock(MBB)
|
||||
@ -967,6 +969,7 @@ struct LandingPadInfo {
|
||||
, EndLabel(0)
|
||||
, LandingPadLabel(0)
|
||||
, TypeIds()
|
||||
, IsFilter(false)
|
||||
{}
|
||||
};
|
||||
|
||||
@ -1202,6 +1205,10 @@ public:
|
||||
void addCatchTypeInfo(MachineBasicBlock *LandingPad,
|
||||
std::vector<GlobalVariable *> &TyInfo);
|
||||
|
||||
/// setIsFilterLandingPad - Indicates that the landing pad is a throw filter.
|
||||
///
|
||||
void setIsFilterLandingPad(MachineBasicBlock *LandingPad);
|
||||
|
||||
/// getTypeIDFor - Return the type id for the specified typeinfo. This is
|
||||
/// function wide.
|
||||
unsigned getTypeIDFor(GlobalVariable *TI);
|
||||
|
Reference in New Issue
Block a user