[all-commits] [llvm/llvm-project] ac719d: [InstrProf] Don't profile merge by default in ligh...

Ellis Hoag via All-commits all-commits at lists.llvm.org
Mon Dec 20 09:52:01 PST 2021


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

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M compiler-rt/lib/profile/InstrProfilingMerge.c

  Log Message:
  -----------
  [InstrProf] Don't profile merge by default in lightweight mode

Profile merging is not supported when using debug info profile
correlation because the data section won't be in the binary at runtime.
Change the default profile name in this mode to `default_%p.proflite` so
we don't use profile merging.

Reviewed By: kyulee

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




More information about the All-commits mailing list