Sign in
llvm
/
llvm-project
/
41d59a36459ea99ada4819a26072366f77484f87
/
.
/
compiler-rt
/
test
/
profile
/
instrprof-error.c
blob: 3297c9d8840ae85d2049f4d52ebef42514e6a875 [
file
] [
log
] [
blame
]
// RUN: %clang_profgen -o %t -O3 %s
// RUN: env LLVM_PROFILE_FILE=%t/ %run %t 1 2>&1 | FileCheck %s
int
main
(
int
argc
,
const
char
*
argv
[])
{
if
(
argc
<
2
)
return
1
;
return
0
;
}
// CHECK: LLVM Profile Error: Failed to write file