[PATCH] D100375: [yaml2obj] Enable support for parsing 64-bit XCOFF.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 7 20:41:03 PDT 2021


sfertile added a comment.

Thanks for working on this. I'm excited to finally replace all the precompiled objects we used for testing the XCOFF tools implementation. I've only got one initial comment since I'm not real familiar with this part fo the code yet, but will spend some more time going over this tomorrow.



================
Comment at: llvm/include/llvm/BinaryFormat/XCOFF.h:29
 constexpr size_t NameSize = 8;
+constexpr size_t FileHeaderSize32 = 20;
+constexpr size_t FileHeaderSize64 = 24;
----------------
Please put the replacement of FileHeader32/SectionHeader32 structs by FileHeaderSize32/SectionHeaderSize32 constants into an NFC patch and commit it separately.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100375/new/

https://reviews.llvm.org/D100375



More information about the llvm-commits mailing list