[PATCH] D104556: [InstrProfiling] Make CountersPtr in __profd_ relative
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 21 16:00:20 PDT 2021
nickdesaulniers added a comment.
In D104556#2831757 <https://reviews.llvm.org/D104556#2831757>, @vsk wrote:
> llvm has had a long-standing policy of keeping details of the .profraw format private between libprofile and InstrProfReader, opting to only commit to backwards-compat for the indexed .profdata format. I'm concerned that breaking with that practice would send the wrong message and commit llvm to maintaining an extra compat layer for a long time.
>
> Why/how does the Linux PGO patch "care" about the .profraw format?
Because the Linux kernel cannot statically link against compiler-rt; we MUST emulate the interfaces provided by compiler-rt within the Linux kernel's runtime.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104556/new/
https://reviews.llvm.org/D104556
More information about the llvm-commits
mailing list