[llvm] r174602 - FDE::dumpHeader(): Forgot to fix one more formatting. It affected bigendian hosts.

NAKAMURA Takumi geek4civic at gmail.com
Thu Feb 7 02:57:42 PST 2013


Author: chapuni
Date: Thu Feb  7 04:57:42 2013
New Revision: 174602

URL: http://llvm.org/viewvc/llvm-project?rev=174602&view=rev
Log:
FDE::dumpHeader(): Forgot to fix one more formatting. It affected bigendian hosts.

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=174602&r1=174601&r2=174602&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFDebugFrame.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFDebugFrame.cpp Thu Feb  7 04:57:42 2013
@@ -108,8 +108,9 @@ public:
     OS << format("%08x %08x %08x FDE ",
                  (uint32_t)Offset, (uint32_t)Length, LinkedCIEOffset);
     OS << format("cie=%08x pc=%08x...%08x\n",
-                 (uint32_t)LinkedCIEOffset, (uint32_t)InitialLocation,
-                 InitialLocation + AddressRange);
+                 (uint32_t)LinkedCIEOffset,
+                 (uint32_t)InitialLocation,
+                 (uint32_t)InitialLocation + (uint32_t)AddressRange);
     OS << "\n";
     if (LinkedCIE) {
       OS << format("%p\n", LinkedCIE);





More information about the llvm-commits mailing list