summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-07 16:39:27 +0000
committerDan Gohman <gohman@apple.com>2010-05-07 16:39:27 +0000
commit50689f0bb9fb7f4ba3ca30c52a2de16889360726 (patch)
treeb219c7ad99003b8f2b1904791d4e049b941b875c /llvm/lib
parentb87e3fee0f285797736ed857b8cb93f5697fc96a (diff)
downloadbcm5719-llvm-50689f0bb9fb7f4ba3ca30c52a2de16889360726.tar.gz
bcm5719-llvm-50689f0bb9fb7f4ba3ca30c52a2de16889360726.zip
Add some words to this output to indicate what the numbers mean.
llvm-svn: 103264
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/DebugInfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp
index aa562cf364a..f3289340ec9 100644
--- a/llvm/lib/Analysis/DebugInfo.cpp
+++ b/llvm/lib/Analysis/DebugInfo.cpp
@@ -503,10 +503,10 @@ void DIType::print(raw_ostream &OS) const {
// TODO : Print context
getCompileUnit().print(OS);
OS << " ["
- << getLineNumber() << ", "
- << getSizeInBits() << ", "
- << getAlignInBits() << ", "
- << getOffsetInBits()
+ << "line " << getLineNumber() << ", "
+ << getSizeInBits() << " bits, "
+ << getAlignInBits() << " bit alignment, "
+ << getOffsetInBits() << " bit offset"
<< "] ";
if (isPrivate())
OpenPOWER on IntegriCloud