diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-01-08 00:31:02 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-01-08 00:31:02 +0000 |
commit | 5c0b298b918f9da6673b500e679580bd8bf7bbb2 (patch) | |
tree | 89abd92b959f42a1413b05dcef5e8906a3f7990a /llvm/lib | |
parent | a043d0cef2dd79222d61fe55f4148847ed07d58f (diff) | |
download | bcm5719-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.cpp | 3 |
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]"; } |