diff options
Diffstat (limited to 'llvm/lib/VMCore')
| -rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index 28f26c833ad..7c58e63275a 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/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>"; } |

