[all-commits] [llvm/llvm-project] aedeab: [Support] Add ProcName to TimeTraceProfiler

rgal via All-commits all-commits at lists.llvm.org
Tue Dec 3 05:04:45 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aedeab7f85caaa0946152e5d73e37455267019bb
      https://github.com/llvm/llvm-project/commit/aedeab7f85caaa0946152e5d73e37455267019bb
  Author: Russell Gallop <russell.gallop at sony.com>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

  Changed paths:
    M clang/test/Driver/check-time-trace.cpp
    M clang/tools/driver/cc1_main.cpp
    M llvm/include/llvm/Support/TimeProfiler.h
    M llvm/lib/Support/TimeProfiler.cpp

  Log Message:
  -----------
  [Support] Add ProcName to TimeTraceProfiler

This was hard-coded to "clang". This change allows it to to be used on
processes other than clang (such as lld).

This gets reported as clang-10 on Linux and clang.exe on Windows so
adapted test to accommodate this.

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




More information about the All-commits mailing list