Changes in directory llvm/include/llvm:

DerivedTypes.h updated: 1.87 -> 1.88
---
Log message:

For PR1145: http://llvm.org/PR1145 :
Add the NoUnwindAttribute to allow explicit marking of functions that do 
not unwind the stack via the unwind instruction. This is akin to gcc's
NoThrow attribute and used for optimizing exception handling.


---
Diffs of the changes:  (+2 -1)

 DerivedTypes.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/DerivedTypes.h
diff -u llvm/include/llvm/DerivedTypes.h:1.87 
llvm/include/llvm/DerivedTypes.h:1.88
--- llvm/include/llvm/DerivedTypes.h:1.87       Sun Mar  4 17:33:19 2007
+++ llvm/include/llvm/DerivedTypes.h    Wed Mar 21 19:32:02 2007
@@ -148,7 +148,8 @@
     SExtAttribute     = 1 << 1, ///< sign extended before/after call
     NoReturnAttribute = 1 << 2, ///< mark the function as not returning
     InRegAttribute    = 1 << 3, ///< force argument to be passed in register
-    StructRetAttribute= 1 << 4  ///< hidden pointer to structure to return
+    StructRetAttribute= 1 << 4, ///< hidden pointer to structure to return
+    NoUnwindAttribute = 1 << 5  ///< Function doesn't unwind stack
   };
   typedef std::vector<ParameterAttributes> ParamAttrsList;
 private:



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to