summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorWolfgang Pieb <Wolfgang.Pieb@sony.com>2017-12-22 01:12:24 +0000
committerWolfgang Pieb <Wolfgang.Pieb@sony.com>2017-12-22 01:12:24 +0000
commitb4ba1aa486adee904002cdf5038133512b4ed37b (patch)
tree47cb349693d035d95a00c2528b7ba2019b61265c /llvm/lib
parent5c2441901f760d35d86f793c1c2014ca52660332 (diff)
downloadbcm5719-llvm-b4ba1aa486adee904002cdf5038133512b4ed37b.tar.gz
bcm5719-llvm-b4ba1aa486adee904002cdf5038133512b4ed37b.zip
[DWARF] Fix formatting bug with r321295. This fixes a MIPS buildbot failure.
llvm-svn: 321330
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
index 5397994effc..eb23ca8229a 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
@@ -168,7 +168,7 @@ static void dumpDWARFv5StringOffsetsSection(
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";
OpenPOWER on IntegriCloud