[all-commits] [llvm/llvm-project] a699b2: [InstrProf] Mark counters as used in debug correla...

Ellis Hoag via All-commits all-commits at lists.llvm.org
Thu Dec 30 14:50:57 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a699b2f1c029c2f19fa5673370fdb7d68871ae03
      https://github.com/llvm/llvm-project/commit/a699b2f1c029c2f19fa5673370fdb7d68871ae03
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2021-12-30 (Thu, 30 Dec 2021)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp

  Log Message:
  -----------
  [InstrProf] Mark counters as used in debug correlation mode

In debug info correlation mode we do not emit the data globals so we
need to explicitly mark the counter globals as used so they don't get
stripped.

Reviewed By: kyulee

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




More information about the All-commits mailing list