xref: /llvm-project/clang/test/Driver/cc-print-proc-stat.c (revision 3d09c9b30fe6484717181a926e14b2ee36747d13)
1155c49e0SVladimir Vereschaka // RUN: env CC_PRINT_PROC_STAT=1 \
2155c49e0SVladimir Vereschaka // RUN:     CC_PRINT_PROC_STAT_FILE=%t.csv \
346cc04deSFangrui Song // RUN: %clang -no-canonical-prefixes -S -o %t.s %s
4155c49e0SVladimir Vereschaka // RUN: FileCheck --check-prefix=CHECK-CSV %s < %t.csv
5155c49e0SVladimir Vereschaka // CHECK-CSV: clang{{.*}},"{{.*}}.s",{{[0-9]+}},{{[0-9]+}},{{[0-9]+}}
6155c49e0SVladimir Vereschaka 
7155c49e0SVladimir Vereschaka // RUN: env CC_PRINT_PROC_STAT=1 \
8*3d09c9b3SFangrui Song // RUN: %clang -no-canonical-prefixes -c -fintegrated-as %s -o %t.o | FileCheck %s
9155c49e0SVladimir Vereschaka // CHECK: clang{{.*}}: output={{.*}}.o, total={{[0-9.]+}} ms, user={{[0-9.]+}} ms, mem={{[0-9]+}} Kb
10