[PATCH] D137982: Reland "[pgo] Avoid introducing relocations by using private alias"

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 17:37:03 PST 2022


paulkirth updated this revision to Diff 481808.
paulkirth edited the summary of this revision.
paulkirth added a comment.

Rebase and use deterministic naming for generated alias.

Allowing the compiler to generate a name if fine for local/private aliases, but
some of these symbols can have linkages that may result in global visibility,
so we should use a deterministic naming convention, so that they can match
correctly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137982/new/

https://reviews.llvm.org/D137982

Files:
  compiler-rt/test/profile/Linux/instrprof-discarded-comdat.cpp
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
  llvm/test/Transforms/PGOProfile/comdat.ll
  llvm/test/Transforms/PGOProfile/prof_avoid_relocs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137982.481808.patch
Type: text/x-patch
Size: 12572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221210/d7a091bc/attachment.bin>


More information about the llvm-commits mailing list