[PATCH] D80414: [lld-macho] Ensure reads from nlist_64 structs are aligned when necessary

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 03:12:13 PDT 2020


int3 added a comment.

The alignment wrappers are really neat! Especially that `operator value_type()` trick...

I've defined the struct in its own namespace to avoid colliding with the one in `BinaryFormat/MachO.h`. The duplication is a bit unfortunate but I reckon we can unify them later if desired?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80414





More information about the llvm-commits mailing list