projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67d8ed9
)
Add the NoUnwind function attribute.
author
Reid Spencer
<rspencer@reidspencer.com>
Thu, 22 Mar 2007 02:14:48 +0000
(
02:14
+0000)
committer
Reid 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
patch
|
blob
|
history
diff --git
a/lib/VMCore/Type.cpp
b/lib/VMCore/Type.cpp
index 7042faf2bba898b447e0e8d4e29152cc77d19efd..63d90ceec99cc7993f217a0342a8337d607a787e 100644
(file)
--- 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)