[PATCH] D110422: [AIX] Enable PGO without LTO
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 24 10:18:05 PDT 2021
MaskRay added a comment.
> we can NOT guarantee that the relocations get resolved to the intended weak symbol, so we can not ensure the correctness of the relative CounterPtr, so we have to use private linkage for counter and data symbols.
In other binary formats the first weak definition is selected and other weak definitions are discarded.
Do you mean that AIX ld doesn't pick the first weak definition?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110422/new/
https://reviews.llvm.org/D110422
More information about the cfe-commits
mailing list