summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-07-22 21:17:05 +0000
committerBill Wendling <isanbard@gmail.com>2011-07-22 21:17:05 +0000
commit53b74024865db6ff9c964db86a155b33f2364e6b (patch)
tree5f205c317e356750404dfb1e6486bd2c8f2370d7
parentfac2ebf7e5cc01a834d89c36bf6c908072b4b052 (diff)
downloadbcm5719-llvm-53b74024865db6ff9c964db86a155b33f2364e6b.tar.gz
bcm5719-llvm-53b74024865db6ff9c964db86a155b33f2364e6b.zip
Add a method to set the compact unwind info.
llvm-svn: 135806
-rw-r--r--llvm/include/llvm/CodeGen/MachineModuleInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfo.h b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
index 1828bcf4670..f8f74153f5e 100644
--- a/llvm/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
@@ -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.
OpenPOWER on IntegriCloud