Add a method to set the compact unwind info.

llvm-svn: 135806
This commit is contained in:
Bill Wendling 2011-07-22 21:17:05 +00:00
parent fac2ebf7e5
commit 53b7402486
1 changed files with 4 additions and 0 deletions

View File

@ -239,6 +239,10 @@ public:
/// function's CIE and FDE.
uint32_t getCompactUnwindEncoding() const { return CompactUnwindEncoding; }
/// setCompactUnwindEncoding - Set the compact unwind encoding for a function
/// if the target supports the encoding.
void setCompactUnwindEncoding(uint32_t Enc) { CompactUnwindEncoding = Enc; }
/// getAddrLabelSymbol - Return the symbol to be used for the specified basic
/// block when its address is taken. This cannot be its normal LBB label
/// because the block may be accessed outside its containing function.