summaryrefslogtreecommitdiff
path: root/test/profile
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-03-09 17:13:18 +0000
committerXinliang David Li <davidxl@google.com>2016-03-09 17:13:18 +0000
commitb92ab7b2546d69c8ea887c21a148bad82370b47a (patch)
treee114664800edce79c202ebabe8c20b695dfa74ed /test/profile
parent597d87c0d0e47db0bd5543304f38854cc3ee1e98 (diff)
Fix a minor bug in test
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@263028 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/profile')
-rw-r--r--test/profile/Inputs/instrprof-merge-match-lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/profile/Inputs/instrprof-merge-match-lib.c b/test/profile/Inputs/instrprof-merge-match-lib.c
index e251fd205..afe559e01 100644
--- a/test/profile/Inputs/instrprof-merge-match-lib.c
+++ b/test/profile/Inputs/instrprof-merge-match-lib.c
@@ -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();