diff --git a/lld/COFF/MapFile.cpp b/lld/COFF/MapFile.cpp index 00e4788f872d..05b65a3e00e6 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,