Add the NoUnwind function attribute.

llvm-svn: 35260
This commit is contained in:
Reid Spencer 2007-03-22 02:14:48 +00:00
parent 620297a20c
commit a2d8b5e7a1

View File

@ -1073,6 +1073,8 @@ std::string FunctionType::getParamAttrsText(ParameterAttributes Attr) {
Result += "sext "; Result += "sext ";
if (Attr & NoReturnAttribute) if (Attr & NoReturnAttribute)
Result += "noreturn "; Result += "noreturn ";
if (Attr & NoUnwindAttribute)
Result += "nounwind ";
if (Attr & InRegAttribute) if (Attr & InRegAttribute)
Result += "inreg "; Result += "inreg ";
if (Attr & StructRetAttribute) if (Attr & StructRetAttribute)