[clang] -ftime-report: reorganize timers (PR #122225)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 9 21:57:00 PST 2025
MaskRay wrote:
> Probably from the prev patch I have:
>
> ```
> /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/clang/test/Frontend/ftime-report-template-decl.cpp:155:15: error: CHECK-DAG: expected string not found in input
> // CHECK-DAG: Code Generation Time
> ^
> <stdin>:75:32: note: scanning from here
> Miscellaneous Ungrouped Timers
> ^
> <stdin>:79:69: note: possible intended match here
> 0.0003 (100.0%) 0.0002 (100.0%) 0.0004 (100.0%) 0.0004 (100.0%) LLVM IR Generation Time
> ^
>
> Input file: <stdin>
> Check file: /usr/local/google/home/vitalybuka/src/llvm.git/llvm-project/clang/test/Frontend/ftime-report-template-decl.cpp
>
> -dump-input=help explains the following input dump.
>
> Input was:
> <<<<<<
> .
> .
> .
> 70: 0.0000 ( 1.8%) 0.0000 ( 1.8%) 0.0000 ( 2.2%) InnerAnalysisManagerProxy<FunctionAnalysisManager, Module>
> 71: 0.0000 ( 3.6%) 0.0000 ( 3.6%) 0.0000 ( 2.2%) ProfileSummaryAnalysis
> 72: 0.0001 (100.0%) 0.0001 (100.0%) 0.0001 (100.0%) Total
> 73:
> 74: ===-------------------------------------------------------------------------===
> 75: Miscellaneous Ungrouped Timers
> dag:155'0 X error: no match found
> 76: ===-------------------------------------------------------------------------===
> dag:155'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 77:
> dag:155'0 ~
> 78: ---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
> dag:155'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 79: 0.0003 (100.0%) 0.0002 (100.0%) 0.0004 (100.0%) 0.0004 (100.0%) LLVM IR Generation Time
> dag:155'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> dag:155'1 ? possible intended match
> 80: 0.0003 (100.0%) 0.0002 (100.0%) 0.0004 (100.0%) 0.0004 (100.0%) Total
> dag:155'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 81:
> dag:155'0 ~
> 82: ===-------------------------------------------------------------------------===
> dag:155'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 83: Clang front-end time report
> dag:155'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 84: ===-------------------------------------------------------------------------===
> dag:155'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> .
> .
> .
> >>>>>>
>
> --
>
> ********************
> ^C interrupted by user, skipping remaining tests
> ********************
> Failed Tests (1):
> Clang :: Frontend/ftime-report-template-decl.cpp
>
>
> Testing Time: 17.23s
> ```
Sorry, my fault. Should have been fixed by 186bd8e4cd8d239be67172448c53e92be396359a
https://github.com/llvm/llvm-project/pull/122225
More information about the cfe-commits
mailing list