[all-commits] [llvm/llvm-project] 2b8917: [pgo] Avoid introducing relocations by using priva...

Paul Kirth via All-commits all-commits at lists.llvm.org
Tue Nov 15 08:05:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b8917f8ad792c4c484975b82039bbdebe556881
      https://github.com/llvm/llvm-project/commit/2b8917f8ad792c4c484975b82039bbdebe556881
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    A llvm/test/Transforms/PGOProfile/prof_avoid_relocs.ll

  Log Message:
  -----------
  [pgo] Avoid introducing relocations by using private alias

Instead of using the public, interposable symbol, we can use a private
alias and avoid relocations and addends.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D137982




More information about the All-commits mailing list