aboutsummaryrefslogtreecommitdiff
path: root/lib/DebugInfo
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-02-07 10:57:42 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-02-07 10:57:42 +0000
commit8ff0631967c64d51b193b862aa0a6f1e8eb06f78 (patch)
treed6762e4ee21b9467ef2372b1de0bb17408080965 /lib/DebugInfo
parent55f067de0904d27c148f19dbadd46bd8cf3c3605 (diff)
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
Diffstat (limited to 'lib/DebugInfo')
-rw-r--r--lib/DebugInfo/DWARFDebugFrame.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/DebugInfo/DWARFDebugFrame.cpp b/lib/DebugInfo/DWARFDebugFrame.cpp
index 6781da6b1e..b70a28537e 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);