diff options
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp index 9146b457a5d..6bf711cfdfe 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp @@ -235,14 +235,14 @@ void DWARFDebugLoclists::LocationList::dump(raw_ostream &OS, uint64_t BaseAddr, case dwarf::DW_LLE_start_length: OS << '\n'; OS.indent(Indent); - OS << format("[0x%*.*" PRIx64 ", 0x%*.*x): ", AddressSize * 2, + OS << format("[0x%*.*" PRIx64 ", 0x%*.*" PRIx64 "): ", AddressSize * 2, AddressSize * 2, E.Value0, AddressSize * 2, AddressSize * 2, E.Value0 + E.Value1); break; case dwarf::DW_LLE_offset_pair: OS << '\n'; OS.indent(Indent); - OS << format("[0x%*.*" PRIx64 ", 0x%*.*x): ", AddressSize * 2, + OS << format("[0x%*.*" PRIx64 ", 0x%*.*" PRIx64 "): ", AddressSize * 2, AddressSize * 2, BaseAddr + E.Value0, AddressSize * 2, AddressSize * 2, BaseAddr + E.Value1); break; |