[all-commits] [llvm/llvm-project] cd3255: [gold] Enable time trace profiler in LLVMgold (#94...

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Tue Jun 4 14:01:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd3255abede5e3687c1538f2d3857deb2c51af1b
      https://github.com/llvm/llvm-project/commit/cd3255abede5e3687c1538f2d3857deb2c51af1b
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    A llvm/test/tools/gold/X86/time-trace.ll
    M llvm/tools/gold/gold-plugin.cpp

  Log Message:
  -----------
  [gold] Enable time trace profiler in LLVMgold (#94293)

To get the time trace of LTO in the gold plugin, now we can pass the
`time-trace=<time trace file>` as well as
`time-trace-granularity=<granularity>` flags to LLVMgold.

Note that we still have to populate `LTOConfig::TimeTraceEnabled` and
`LTOConfig::TimeTraceGranularity` because ThinLTO backend needs them.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list