[PATCH] D133994: [BOLT] Change base class of ExecutableFileMemoryManager

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 13:09:29 PDT 2022


maksfb added inline comments.


================
Comment at: bolt/include/bolt/Rewrite/ExecutableFileMemoryManager.h:36
+  };
+  SmallVector<AllocInfo, 4> AllocatedSections;
+
----------------
yota9 wrote:
> maksfb wrote:
> > yota9 wrote:
> > > It seems to me that 4 is not suitable number and might be increased significantly, maybe like 32 or even 64, what do you think?
> > In relocation mode, there are not that many sections emitted. I can bump it to 8.
> You're right it is too much, I was also thinking about debug sections, that might be around ~8 as I understand. But I don't insist here, thanks for bumping anyway :)
For now it’s only .debug_line come get from EFMM. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133994



More information about the llvm-commits mailing list