[llvm] r321330 - [DWARF] Fix formatting bug with r321295. This fixes a MIPS buildbot failure.
Wolfgang Pieb via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 21 17:12:24 PST 2017
Author: wolfgangp
Date: Thu Dec 21 17:12:24 2017
New Revision: 321330
URL: http://llvm.org/viewvc/llvm-project?rev=321330&view=rev
Log:
[DWARF] Fix formatting bug with r321295. This fixes a MIPS buildbot failure.
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=321330&r1=321329&r2=321330&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp Thu Dec 21 17:12:24 2017
@@ -168,7 +168,7 @@ static void dumpDWARFv5StringOffsetsSect
OS << format("0x%8.8x: Gap, length = ", Offset);
OS << (ContributionHeader - Offset) << "\n";
}
- OS << format("0x%8.8x: ", ContributionHeader);
+ OS << format("0x%8.8x: ", (uint32_t)ContributionHeader);
OS << "Contribution size = " << Contribution->Size
<< ", Format = " << (Format == DWARF32 ? "DWARF32" : "DWARF64")
<< ", Version = " << Version << "\n";
More information about the llvm-commits
mailing list