10 lines · c
1// RUN: env CC_PRINT_PROC_STAT=1 \2// RUN: CC_PRINT_PROC_STAT_FILE=%t.csv \3// RUN: %clang -no-canonical-prefixes -S -o %t.s %s4// RUN: FileCheck --check-prefix=CHECK-CSV %s < %t.csv5// CHECK-CSV: clang{{.*}},"{{.*}}.s",{{[0-9]+}},{{[0-9]+}},{{[0-9]+}}6 7// RUN: env CC_PRINT_PROC_STAT=1 \8// RUN: %clang -no-canonical-prefixes -c -fintegrated-as %s -o %t.o | FileCheck %s9// CHECK: clang{{.*}}: output={{.*}}.o, total={{[0-9.]+}} ms, user={{[0-9.]+}} ms, mem={{[0-9]+}} Kb10