[llvm-commits] [llvm] r103264 - /llvm/trunk/lib/Analysis/DebugInfo.cpp

Dan Gohman gohman at apple.com
Fri May 7 09:39:27 PDT 2010


Author: djg
Date: Fri May  7 11:39:27 2010
New Revision: 103264

URL: http://llvm.org/viewvc/llvm-project?rev=103264&view=rev
Log:
Add some words to this output to indicate what the numbers mean.

Modified:
    llvm/trunk/lib/Analysis/DebugInfo.cpp

Modified: llvm/trunk/lib/Analysis/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DebugInfo.cpp?rev=103264&r1=103263&r2=103264&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/DebugInfo.cpp Fri May  7 11:39:27 2010
@@ -503,10 +503,10 @@
   // TODO : Print context
   getCompileUnit().print(OS);
   OS << " ["
-         << getLineNumber() << ", "
-         << getSizeInBits() << ", "
-         << getAlignInBits() << ", "
-         << getOffsetInBits()
+         << "line " << getLineNumber() << ", "
+         << getSizeInBits() << " bits, "
+         << getAlignInBits() << " bit alignment, "
+         << getOffsetInBits() << " bit offset"
          << "] ";
 
   if (isPrivate())





More information about the llvm-commits mailing list