[llvm-bugs] [Bug 41524] struct COFF::header::NumberOfSections wrong data type
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Apr 18 13:23:12 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41524
Reid Kleckner <rnk at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
CC| |rnk at google.com
Status|NEW |RESOLVED
--- Comment #1 from Reid Kleckner <rnk at google.com> ---
I don't believe this class is used anywhere for memory-mapped IO, so this isn't
a bug. The type was specifically widened to 32 bits in r217812 by David
Majnemer to add bigobj support, which allows reading and writing object files
with more than 2**16 sections.
The coff_file_header struct in llvm/include/llvm/Object/COFF.h is appropriate
for use with memory-mapped files.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190418/c6b98f59/attachment.html>
More information about the llvm-bugs
mailing list