Add -fintegrated-as to clang invocation
authorZarko Todorovski <zarko@ca.ibm.com>
Fri, 27 Nov 2020 20:54:37 +0000 (15:54 -0500)
committerZarko Todorovski <zarko@ca.ibm.com>
Fri, 27 Nov 2020 20:54:37 +0000 (15:54 -0500)
On platforms where the integrated as isn't called by default this
test fails since the output is not what it expects.  Adding this
option generates the expected output on those platforms as well.

clang/test/Driver/report-stat.c

index 4b53f90..621b993 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang -c -fproc-stat-report %s | FileCheck %s
+// RUN: %clang -c -fproc-stat-report -fintegrated-as %s | FileCheck %s
 // CHECK: clang{{.*}}: output={{.*}}.o, total={{[0-9.]+}} ms, user={{[0-9.]+}} ms, mem={{[0-9]+}} Kb
 
 // RUN: %clang -c -fproc-stat-report=%t %s