[PATCH] D113818: [MachO] Shrink reloc from 32 bytes to 24 bytes

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 12 16:35:35 PST 2021


int3 added a comment.

> from 7.85 MB to 7.64 MB

I think you meant GB :)



================
Comment at: lld/MachO/InputFiles.cpp:355
+template <class T>
+static InputSection *findContainingSubsection(SubsectionMap &map, T *offset) {
   auto it = std::prev(llvm::upper_bound(
----------------
hm, can't we leave it as uint64_t and have the uint32_t be automatically promoted?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113818



More information about the llvm-commits mailing list