[llvm-commits] [llvm] r162421 - /llvm/trunk/lib/DebugInfo/DWARFCompileUnit.cpp

Eric Christopher echristo at apple.com
Wed Aug 22 17:52:49 PDT 2012


Author: echristo
Date: Wed Aug 22 19:52:49 2012
New Revision: 162421

URL: http://llvm.org/viewvc/llvm-project?rev=162421&view=rev
Log:
Tidy.

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

Modified: llvm/trunk/lib/DebugInfo/DWARFCompileUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFCompileUnit.cpp?rev=162421&r1=162420&r2=162421&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFCompileUnit.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFCompileUnit.cpp Wed Aug 22 19:52:49 2012
@@ -199,9 +199,9 @@
   // Give a little bit of info if we encounter corrupt DWARF (our offset
   // should always terminate at or before the start of the next compilation
   // unit header).
-  if (offset > next_cu_offset) {
-    fprintf (stderr, "warning: DWARF compile unit extends beyond its bounds cu 0x%8.8x at 0x%8.8x'\n", getOffset(), offset);
-  }
+  if (offset > next_cu_offset)
+    fprintf (stderr, "warning: DWARF compile unit extends beyond its"
+                     "bounds cu 0x%8.8x at 0x%8.8x'\n", getOffset(), offset);
 
   setDIERelations();
   return DieArray.size();





More information about the llvm-commits mailing list