[all-commits] [llvm/llvm-project] e976c4: [lld-macho] Initialize separate time trace profile...

Jez Ng via All-commits all-commits at lists.llvm.org
Tue Jan 11 17:45:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e976c457c5a376e688cbbdd5779bd439618dae38
      https://github.com/llvm/llvm-project/commit/e976c457c5a376e688cbbdd5779bd439618dae38
  Author: Jez Ng <jezng at fb.com>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M lld/MachO/Writer.cpp
    M lld/test/MachO/map-file.s

  Log Message:
  -----------
  [lld-macho] Initialize separate time trace profiler for mapfile worker

After {D115416}, the "Write map file" event no longer shows up
in the time trace. Each time trace profiler instance is thread-local,
but we had neglected to initialize a separate instance for the mapfile
worker thread.

Reviewed By: keith

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




More information about the All-commits mailing list