[PATCH] D149215: [MemProf] Control availability of hot/cold operator new from LTO link

Peter Collingbourne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 27 12:39:00 PDT 2023


pcc added a comment.

> Adds an LTO option

Usual question: does it need to be an option? Could the allocator expose a symbol such as `__malloc_hot_cold` that the linker could check for in the symbol table?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149215



More information about the cfe-commits mailing list