[llvm] r310267 - [DebugInfo][DWARF] Address paulr's comment on rL310253.
Simon Dardis via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 09:08:11 PDT 2017
Author: sdardis
Date: Mon Aug 7 09:08:11 2017
New Revision: 310267
URL: http://llvm.org/viewvc/llvm-project?rev=310267&view=rev
Log:
[DebugInfo][DWARF] Address paulr's comment on rL310253.
Modified:
llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp?rev=310267&r1=310266&r2=310267&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp Mon Aug 7 09:08:11 2017
@@ -136,8 +136,8 @@ dumpDWARFv5StringOffsetsSection(raw_ostr
uint64_t StringOffset =
StrOffsetExt.getRelocatedValue(EntrySize, &Offset);
if (Format == DWARF32) {
- OS << format("%8.8" PRIx64 " ", StringOffset);
uint32_t StringOffset32 = (uint32_t)StringOffset;
+ OS << format("%8.8x ", StringOffset32);
const char *S = StrData.getCStr(&StringOffset32);
if (S)
OS << format("\"%s\"", S);
More information about the llvm-commits
mailing list