[PATCH] D59797: [COFF] Reorder fields in Chunk and SectionChunk to reduce their size

Bruno Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 16:00:27 PDT 2019


riccibruno added inline comments.


================
Comment at: lld/COFF/Chunks.h:236
   // the thunk instead of the actual original target Symbol.
   std::vector<Symbol *> RelocTargets;
 
----------------
I think that `llvm::SmallVector<Symbol *, 0>` is one pointer smaller, with the drawback that it is limited to `2^32-1` elements.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59797





More information about the llvm-commits mailing list