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 | 0fecdfb7c44aee85e78e0ba6e9547b702bc64c4a (patch) | |
tree | 10943594cb1f46e2ddc04756904d3b6d978a7ba5 /lib/IR/DebugInfo.cpp | |
parent | 251040bc18eedfa56d01fe92836e55cfd8c5d990 (diff) |
Mark artificial types as such in the annotated debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/DebugInfo.cpp')
-rw-r--r-- | lib/IR/DebugInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp index 6ca692e274..d288308097 100644 --- a/lib/IR/DebugInfo.cpp +++ b/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]"; } |