[clang] [time-trace] Add a new time trace scope variable named "ParseDeclarationOrFunctionDefinition". (PR #65268)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 30 09:01:52 PDT 2023
================
@@ -301,6 +301,10 @@ Improvements to Clang's diagnostics
- Clang now always diagnoses when using non-standard layout types in ``offsetof`` .
(`#64619: <https://github.com/llvm/llvm-project/issues/64619>`_)
+Improvements to Clang's time-trace
+----------------------------------
+- Two time-trace scope variables are added. 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.
----------------
MaggieYingYi wrote:
Thanks @AaronBallman, I have updated the patch following your comments.
https://github.com/llvm/llvm-project/pull/65268
More information about the cfe-commits
mailing list