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 | 909d080d98acf3508b3e8d76b2c2b3371e17f618 (patch) | |
| tree | 884a18bde29ad579b35508931b5b7f875376a3ff | |
| parent | 51f9eaa5e2238e851df9bd13ac2ada2575ed7068 (diff) | |
| download | bcm5719-llvm-909d080d98acf3508b3e8d76b2c2b3371e17f618.tar.gz bcm5719-llvm-909d080d98acf3508b3e8d76b2c2b3371e17f618.zip | |
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.
llvm-svn: 266291
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_quarantine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_quarantine.h b/compiler-rt/lib/sanitizer_common/sanitizer_quarantine.h index 095c8065417..ccc22bf0133 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_quarantine.h +++ b/compiler-rt/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++) { |

