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)
, EndLabel(0)
, LandingPadLabel(0)
, TypeIds()
+ , IsFilter(false)
{}
};
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);