[all-commits] [llvm/llvm-project] 6e4516: [InstrProf] Set prof global variables to internal ...

aeubanks via All-commits all-commits at lists.llvm.org
Thu Aug 4 13:29:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e45162adfec14ef4f53ec99312cb26d23f929bc
      https://github.com/llvm/llvm-project/commit/6e45162adfec14ef4f53ec99312cb26d23f929bc
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/test/Instrumentation/InstrProfiling/comdat.ll
    M llvm/test/Instrumentation/InstrProfiling/profiling.ll

  Log Message:
  -----------
  [InstrProf] Set prof global variables to internal linkage if adding a comdat

COFF has a verifier check that private global variables don't have a comdat of the same name.

Reviewed By: rnk

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




More information about the All-commits mailing list