2016-09-27 02:53:34 +08:00
|
|
|
// RUN: %clang_cc1 -emit-llvm -o /dev/null -stats-file=%t %s
|
|
|
|
// RUN: FileCheck -input-file=%t %s
|
|
|
|
// CHECK: {
|
|
|
|
// ... here come some json values ...
|
|
|
|
// CHECK: }
|
|
|
|
|
2019-02-03 23:49:11 +08:00
|
|
|
// RUN: %clang_cc1 -emit-llvm -o %t -stats-file=%t.doesnotexist/bla %s 2>&1 | FileCheck -check-prefix=OUTPUTFAIL %s
|
2021-01-25 21:02:41 +08:00
|
|
|
// OUTPUTFAIL: warning: unable to open statistics output file '{{.*}}doesnotexist{{.}}bla': '{{[Nn]}}o such file or directory'
|