aboutsummaryrefslogtreecommitdiff
path: root/lib/DebugInfo
diff options
context:
space:
mode:
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);