Add the NoUnwind function attribute.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 22 Mar 2007 02:14:48 +0000 (02:14 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 22 Mar 2007 02:14:48 +0000 (02:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35260 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Type.cpp

index 7042faf2bba898b447e0e8d4e29152cc77d19efd..63d90ceec99cc7993f217a0342a8337d607a787e 100644 (file)
@@ -1073,6 +1073,8 @@ std::string FunctionType::getParamAttrsText(ParameterAttributes Attr) {
     Result += "sext ";
   if (Attr & NoReturnAttribute)
     Result += "noreturn ";
+  if (Attr & NoUnwindAttribute)
+    Result += "nounwind ";
   if (Attr & InRegAttribute)
     Result += "inreg ";
   if (Attr & StructRetAttribute)