[COFF] - Fixed format in writeOutSecLine()

The same as https://reviews.llvm.org/rL292102,
fixes next testcases under msvs2015/win32:

25>  Failing Tests (3):
25>      lld :: COFF/lldmap.test
25>      lld :: COFF/weak-external.test
25>      lld :: COFF/weak-external3.test

llvm-svn: 292104
This commit is contained in:
George Rimar 2017-01-16 11:46:55 +00:00
parent 07d94e3529
commit 548adcdec4
1 changed files with 2 additions and 1 deletions

View File

@ -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,