diff options
author | Fangrui Song <maskray@google.com> | 2019-04-26 04:07:58 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-04-26 04:07:58 +0000 |
commit | 98b70f6705f5aefb9fadb4b2e23db9dc5f3d12ef (patch) | |
tree | 1a7d342d0b6134791c92a25d16fde8ec65339290 /llvm/tools/llvm-rc/ResourceFileWriter.cpp | |
parent | 9e441aee509f8a4d1c6a42b3da6ab9869e777051 (diff) | |
download | llvm-98b70f6705f5aefb9fadb4b2e23db9dc5f3d12ef.zip llvm-98b70f6705f5aefb9fadb4b2e23db9dc5f3d12ef.tar.gz llvm-98b70f6705f5aefb9fadb4b2e23db9dc5f3d12ef.tar.bz2 |
[ELF] Change std::max<uint64_t> to uint32_t for section alignment
Summary:
We use `uint32_t SectionBase::Alignment` and `uint32_t
PhdrEntry::p_align` despite alignments being 64 bits in ELF64.
Fix the std::max template arguments accordingly.
The currently 160-byte InputSection will become 168 bytes if we make SectionBase::Alignment uint64_t.
Differential Revision: https://reviews.llvm.org/D61171
llvm-svn: 359268
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceFileWriter.cpp')
0 files changed, 0 insertions, 0 deletions