[PATCH] D95930: [InstrProfiling] Use self-link for counter metadata
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 3 10:54:32 PST 2021
MaskRay added a comment.
> We cannot link to the function because if the function gets discarded, we'll end up with and invalid link which leads to a linker error:
If the text section `.text.foo` gets discarded, the `__profc_foo` section should get discarded, too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95930/new/
https://reviews.llvm.org/D95930
More information about the llvm-commits
mailing list