Fix a minor bug in test
authorXinliang David Li <davidxl@google.com>
Wed, 9 Mar 2016 17:13:18 +0000 (17:13 +0000)
committerXinliang David Li <davidxl@google.com>
Wed, 9 Mar 2016 17:13:18 +0000 (17:13 +0000)
llvm-svn: 263028

compiler-rt/test/profile/Inputs/instrprof-merge-match-lib.c

index e251fd2..afe559e 100644 (file)
@@ -21,7 +21,7 @@ uint64_t libEntry(char *Buffer, uint64_t MaxSize) {
 
   uint64_t Size = __llvm_profile_get_size_for_buffer();
   if (Size > MaxSize)
-    return 1;
+    return 0;
 
   __llvm_profile_reset_counters();