From 8ff0631967c64d51b193b862aa0a6f1e8eb06f78 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 7 Feb 2013 10:57:42 +0000 Subject: [PATCH] FDE::dumpHeader(): Forgot to fix one more formatting. It affected bigendian hosts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174602 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/DWARFDebugFrame.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/DebugInfo/DWARFDebugFrame.cpp b/lib/DebugInfo/DWARFDebugFrame.cpp index 6781da6b1e3..b70a28537e3 100644 --- a/lib/DebugInfo/DWARFDebugFrame.cpp +++ b/lib/DebugInfo/DWARFDebugFrame.cpp @@ -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);