[llvm] r174614 - FDE::dumpHeader(): Forgot to fix one more formatting, ... take two!

NAKAMURA Takumi geek4civic at gmail.com
Thu Feb 7 06:54:42 PST 2013


Author: chapuni
Date: Thu Feb  7 08:54:42 2013
New Revision: 174614

URL: http://llvm.org/viewvc/llvm-project?rev=174614&view=rev
Log:
FDE::dumpHeader(): Forgot to fix one more formatting, ... take two!

Excuse me, I could not test it locally.

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

Modified: llvm/trunk/lib/DebugInfo/DWARFDebugFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFDebugFrame.cpp?rev=174614&r1=174613&r2=174614&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFDebugFrame.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFDebugFrame.cpp Thu Feb  7 08:54:42 2013
@@ -106,9 +106,9 @@ public:
 
   void dumpHeader(raw_ostream &OS) const {
     OS << format("%08x %08x %08x FDE ",
-                 (uint32_t)Offset, (uint32_t)Length, LinkedCIEOffset);
+                 (uint32_t)Offset, (uint32_t)Length, (int32_t)LinkedCIEOffset);
     OS << format("cie=%08x pc=%08x...%08x\n",
-                 (uint32_t)LinkedCIEOffset,
+                 (int32_t)LinkedCIEOffset,
                  (uint32_t)InitialLocation,
                  (uint32_t)InitialLocation + (uint32_t)AddressRange);
     OS << "\n";





More information about the llvm-commits mailing list