1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

For 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.

llvm-svn: 35250
This commit is contained in:
Reid Spencer 2007-03-22 00:32:02 +00:00
parent 61b9366c9f
commit 17f3eeaf48

View File

@ -148,7 +148,8 @@ public:
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: