diff options
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/test/profile/instrprof-without-libc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/profile/instrprof-without-libc.c b/compiler-rt/test/profile/instrprof-without-libc.c index eb0a76ded39..ffd3055279f 100644 --- a/compiler-rt/test/profile/instrprof-without-libc.c +++ b/compiler-rt/test/profile/instrprof-without-libc.c @@ -29,7 +29,7 @@ int main(int argc, const char *argv[]) { if (Size > MaxSize) return 1; int Write = __llvm_profile_write_buffer(Buffer); - if (__llvm_profile_write_buffer(Buffer)) + if (Write) return Write; #ifdef CHECK_SYMBOLS |