From 5c0b298b918f9da6673b500e679580bd8bf7bbb2 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 8 Jan 2013 00:31:02 +0000 Subject: Mark artificial types as such in the annotated debug output. llvm-svn: 171826 --- llvm/lib/IR/DebugInfo.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'llvm/lib') diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index 6ca692e2745..d2883080977 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -1095,6 +1095,9 @@ void DIType::printInternal(raw_ostream &OS) const { else if (isProtected()) OS << " [protected]"; + if (isArtificial()) + OS << " [artificial]"; + if (isForwardDecl()) OS << " [fwd]"; } -- cgit v1.2.3