xref: /llvm-project/clang/test/Driver/report-stat.c (revision 980679981fbc311bc07f8cd23e3739fd56c22d2a)
1 // RUN: %clang -no-canonical-prefixes -c -fproc-stat-report -fintegrated-as %s -o %t.o | FileCheck %s
2 // CHECK: clang{{.*}}: output={{.*}}.o, total={{[0-9.]+}} ms, user={{[0-9.]+}} ms, mem={{[0-9]+}} Kb
3 
4 // RUN: %clang -no-canonical-prefixes -c -fintegrated-as -fproc-stat-report=%t %s -o %t.o
5 // RUN: cat %t | FileCheck --check-prefix=CSV %s
6 // CSV: clang{{.*}},"{{.*}}.o",{{[0-9]+}},{{[0-9]+}},{{[0-9]+}}
7