Sign in
cobalt
/
cobalt
/
refs/tags/22.lts.4
/
.
/
src
/
third_party
/
llvm-project
/
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