summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/COFF/MapFile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/COFF/MapFile.cpp b/lld/COFF/MapFile.cpp
index 00e4788f872..05b65a3e00e 100644
--- a/lld/COFF/MapFile.cpp
+++ b/lld/COFF/MapFile.cpp
@@ -36,7 +36,8 @@ using namespace lld::coff;
static void writeOutSecLine(raw_fd_ostream &OS, uint64_t Address, uint64_t Size,
uint64_t Align, StringRef Name) {
- OS << format("%08x %08x %5x ", Address, Size, Align) << left_justify(Name, 7);
+ OS << format("%08llx %08llx %5llx ", Address, Size, Align)
+ << left_justify(Name, 7);
}
static void writeInSecLine(raw_fd_ostream &OS, uint64_t Address, uint64_t Size,
OpenPOWER on IntegriCloud