[PATCH] D110422: [AIX] Enable PGO without LTO
Jinsong Ji via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 24 12:31:04 PDT 2021
jsji added a comment.
Pos_Rel __profc_weak_func notation is just the normal relocation to symbol __profc_weak_func.
The relocation here is to calculate the relative pointer (offset) to __profc__weak_func from __profd__weak__func.
In example above, the offsets value after binding will be the same for both instances, as the symbol __profc__weak__func will be the one that is chosen by binder. Let us say it is the value of first instances.
Then when we calculate the profc_weak_func pointer for 2nd instances, we get garbage value.
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