diff options
| author | George Rimar <grimar@accesssoftek.com> | 2017-01-16 11:46:55 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2017-01-16 11:46:55 +0000 |
| commit | 548adcdec4be1ff2a606502db15f71d64cc2c9e7 (patch) | |
| tree | 5cc050bfc850fd290a0ceab747c740f88916499d | |
| parent | 07d94e35293d6c6e0d028b51f1dd343259ad7edb (diff) | |
| download | bcm5719-llvm-548adcdec4be1ff2a606502db15f71d64cc2c9e7.tar.gz bcm5719-llvm-548adcdec4be1ff2a606502db15f71d64cc2c9e7.zip | |
[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
| -rw-r--r-- | lld/COFF/MapFile.cpp | 3 |
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, |

