diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2016-04-14 11:40:08 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2016-04-14 11:40:08 +0000 |
commit | d9e994edcd721d505f2c8c66953532177552df06 (patch) | |
tree | b9e97e9783a445442cb12354a463fd0d98a865cc /lib/sanitizer_common/sanitizer_quarantine.h | |
parent | efe2dceaeff6d238ba258640b17e5847848bbe60 (diff) |
asan: fix build
Some bots failed with:
sanitizer_quarantine.h:104:7: error: unused typedef 'assertion_failed__104' [-Werror,-Wunused-local-typedef]
COMPILER_CHECK(kPrefetch <= ARRAY_SIZE(b->batch));
Replace COMPILER_CHECK with CHECK.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@266291 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_quarantine.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_quarantine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_quarantine.h b/lib/sanitizer_common/sanitizer_quarantine.h index 095c80654..ccc22bf01 100644 --- a/lib/sanitizer_common/sanitizer_quarantine.h +++ b/lib/sanitizer_common/sanitizer_quarantine.h @@ -101,7 +101,7 @@ class Quarantine { void NOINLINE DoRecycle(Cache *c, Callback cb) { while (QuarantineBatch *b = c->DequeueBatch()) { const uptr kPrefetch = 16; - COMPILER_CHECK(kPrefetch <= ARRAY_SIZE(b->batch)); + CHECK(kPrefetch <= ARRAY_SIZE(b->batch)); for (uptr i = 0; i < kPrefetch; i++) PREFETCH(b->batch[i]); for (uptr i = 0, count = b->count; i < count; i++) { |