[PATCH] D54939: [llvm-objcopy] Initial COFF support
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 14 12:55:23 PST 2018
alexshap added inline comments.
================
Comment at: tools/llvm-objcopy/COFF/Object.h:48
+
+ bool Is64 = false;
+ object::pe32_header PeHeader;
----------------
btw - I don't have a strong opinion on this yet,
but wanted to explain the motivation why we were trying not to keep this type of information (Is64 etc) inside the Object. Basically, the idea was to have all encoding-related logic consolidated inside the Readers/Writers and avoid accidental usage / leaking of this information into the model itself. I don't know if it makes sense for COFF (although yes, to some extent it means that this information needs to be passed around) - what do you think ?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54939/new/
https://reviews.llvm.org/D54939
More information about the llvm-commits
mailing list