[PATCH] D137982: [pgo] Avoid introducing relocations by using private alias
Paul Kirth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 13:57:59 PST 2022
paulkirth created this revision.
Herald added subscribers: Enna1, jeroen.dobbelaere, wenlei, hiraditya.
Herald added a project: All.
paulkirth requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Instead of using the public, interposable symbol, we can use a private
alias and avoid relocations and addends.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137982
Files:
llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
llvm/test/Transforms/PGOProfile/prof_avoid_relocs.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137982.475268.patch
Type: text/x-patch
Size: 7147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221114/b61c31e9/attachment.bin>
More information about the llvm-commits
mailing list