From 66123626ad5497bfe3bfd14fea85468091ca8d3d Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 22 Mar 2007 02:14:48 +0000 Subject: [PATCH] Add the NoUnwind function attribute. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35260 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Type.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index 7042faf2bba..63d90ceec99 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -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) -- 2.34.1