summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-01-08 00:31:02 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-01-08 00:31:02 +0000
commit5c0b298b918f9da6673b500e679580bd8bf7bbb2 (patch)
tree89abd92b959f42a1413b05dcef5e8906a3f7990a /llvm/lib
parenta043d0cef2dd79222d61fe55f4148847ed07d58f (diff)
downloadbcm5719-llvm-5c0b298b918f9da6673b500e679580bd8bf7bbb2.tar.gz
bcm5719-llvm-5c0b298b918f9da6673b500e679580bd8bf7bbb2.zip
Mark artificial types as such in the annotated debug output.
llvm-svn: 171826
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp3
1 files changed, 3 insertions, 0 deletions
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]";
}
OpenPOWER on IntegriCloud