From 9e094c40df10d928a1242f8652dc56ebd41d38fd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 14 May 2003 17:50:47 +0000 Subject: [PATCH] Print opaque types git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6200 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/AsmWriter.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 28f26c833ad..7c58e63275a 100644 --- 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 = ""; }