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:
84c0d5e
)
Print opaque types
author
Chris Lattner
<sabre@nondot.org>
Wed, 14 May 2003 17:50:47 +0000
(17:50 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 14 May 2003 17:50:47 +0000
(17:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6200
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index 28f26c833ad91744b2ca0f50ea9a9097491e6847..7c58e63275a69d4838345d6c77527577f0b236c7 100644
(file)
--- a/
lib/VMCore/AsmWriter.cpp
+++ b/
lib/VMCore/AsmWriter.cpp
@@
-153,6
+153,9
@@
static std::string calcTypeName(const Type *Ty,
Result += calcTypeName(ATy->getElementType(), TypeStack, TypeNames) + "]";
break;
}
+ case Type::OpaqueTyID:
+ Result = "opaque";
+ break;
default:
Result = "<unrecognized-type>";
}