[PATCH] D105431: [LLD] Fix a padding bug in the old Mach-O backend in LLD.

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 5 07:30:22 PDT 2021


tschuett added inline comments.


================
Comment at: lld/lib/ReaderWriter/MachO/MachONormalizedFile.h:264
 
+  uint32_t                    headerPad = 16 + 24; // Space for UUID + CODESIGN
+
----------------
could that be something like `headerPad = sizeof(xxx) + sizeof(yyy)`?



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105431



More information about the llvm-commits mailing list