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

MaggieYingYi via All-commits all-commits at lists.llvm.org
Wed Nov 1 06:39:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 700d93b0584c9d6401ec646fc3e343e90f326fa2
      https://github.com/llvm/llvm-project/commit/700d93b0584c9d6401ec646fc3e343e90f326fa2
  Author: Ying Yi <ying.yi at sony.com>
  Date:   2023-11-01 (Wed, 01 Nov 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