[compiler-rt] r263028 - Fix a minor bug in test

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 9 09:13:18 PST 2016


Author: davidxl
Date: Wed Mar  9 11:13:18 2016
New Revision: 263028

URL: http://llvm.org/viewvc/llvm-project?rev=263028&view=rev
Log:
Fix a minor bug in test

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

Modified: compiler-rt/trunk/test/profile/Inputs/instrprof-merge-match-lib.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/instrprof-merge-match-lib.c?rev=263028&r1=263027&r2=263028&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/Inputs/instrprof-merge-match-lib.c (original)
+++ compiler-rt/trunk/test/profile/Inputs/instrprof-merge-match-lib.c Wed Mar  9 11:13:18 2016
@@ -21,7 +21,7 @@ uint64_t libEntry(char *Buffer, uint64_t
 
   uint64_t Size = __llvm_profile_get_size_for_buffer();
   if (Size > MaxSize)
-    return 1;
+    return 0;
 
   __llvm_profile_reset_counters();
 




More information about the llvm-commits mailing list