[all-commits] [llvm/llvm-project] 33b858: Add two time-trace scope variables.

MaggieYingYi via All-commits all-commits at lists.llvm.org
Tue Oct 31 02:18:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33b85867e30e1adc2ff2173039c199b81c10f52b
      https://github.com/llvm/llvm-project/commit/33b85867e30e1adc2ff2173039c199b81c10f52b
  Author: Ying Yi <ying.yi at sony.com>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Parse/Parser.cpp
    A clang/test/Driver/check-time-trace-ParseDeclarationOrFunctionDefinition.cpp
    M clang/unittests/Support/TimeProfilerTest.cpp

  Log Message:
  -----------
  Add two time-trace scope variables.

A time trace scope variable of `ParseDeclarationOrFunctionDefinition`
with the function's source location is added to record the time spent
parsing the function's declaration or definition. Another time trace
scope variable of `ParseFunctionDefinition` is also added to record the
name of the defined function. A release note is added as well.

Reviewed by: Aaron Ballman
Pull request: #65268




More information about the All-commits mailing list