mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 07:57:36 +08:00
Print alignment in decimal instead of hexadecimal.
Previously, we were printing out something like this for sections/symbols with alignment 16 0000000000201000 0000000000000182 10 .data which I think confusing. I think printing it in decimal is better. Differential Revision: https://reviews.llvm.org/D29258 llvm-svn: 293685
This commit is contained in:
@@ -35,7 +35,7 @@ using namespace lld::elf;
|
||||
|
||||
static void writeOutSecLine(raw_fd_ostream &OS, int Width, uint64_t Address,
|
||||
uint64_t Size, uint64_t Align, StringRef Name) {
|
||||
OS << format("%0*llx %0*llx %5llx ", Width, Address, Width, Size, Align)
|
||||
OS << format("%0*llx %0*llx %5lld ", Width, Address, Width, Size, Align)
|
||||
<< left_justify(Name, 7);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user