[PATCH] D110422: [AIX] Enable PGO without LTO

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 24 14:12:09 PDT 2021


jsji added a comment.

Using to `PrivateLinkage`, all the profc/profd for each weak symbol will be *local* to objects, and all kept in the csect,
so we won't have problem.

The downside is that we won't be able to discard the duplicated counters and profile data,
but those can not be discarded even if we keep the weak linkage,
due to the binder limitation of not discarding only part of the csect either .


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110422



More information about the llvm-commits mailing list