[PATCH] D103717: [InstrProfiling][ELF] Make __profd_ private if the function does not use value profiling

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 18 16:18:30 PDT 2021


MaskRay added a comment.

Thanks for review:) I feel that I understand value profiling better now.

I have a plan to use label differences (i.e. PC-relative relocations on ELF) (D104556 <https://reviews.llvm.org/D104556>) to save `sizeof(Elf64_Rela) * |__profd_| = 24 * instrumented_functions` bytes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103717



More information about the llvm-commits mailing list