[llvm-commits] [llvm] r135806 - /llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h

Bill Wendling isanbard at gmail.com
Fri Jul 22 14:17:06 PDT 2011


Author: void
Date: Fri Jul 22 16:17:05 2011
New Revision: 135806

URL: http://llvm.org/viewvc/llvm-project?rev=135806&view=rev
Log:
Add a method to set the compact unwind info.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h?rev=135806&r1=135805&r2=135806&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h Fri Jul 22 16:17:05 2011
@@ -239,6 +239,10 @@
   /// 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.





More information about the llvm-commits mailing list