projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f32c1e
)
asan: fix the constant for new allocator cache
author
Dmitry Vyukov
<dvyukov@google.com>
Tue, 15 Jan 2013 10:45:18 +0000
(10:45 +0000)
committer
Dmitry Vyukov
<dvyukov@google.com>
Tue, 15 Jan 2013 10:45:18 +0000
(10:45 +0000)
llvm-svn: 172526
compiler-rt/lib/asan/asan_allocator.h
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/asan/asan_allocator.h
b/compiler-rt/lib/asan/asan_allocator.h
index
6c136ed
..
488a0c6
100644
(file)
--- a/
compiler-rt/lib/asan/asan_allocator.h
+++ b/
compiler-rt/lib/asan/asan_allocator.h
@@
-112,7
+112,7
@@
struct AsanThreadLocalMallocStorage {
AsanChunk *free_lists_[kNumberOfSizeClasses];
#else
uptr quarantine_cache[16];
- uptr allocator2_cache[
1024
]; // Opaque.
+ uptr allocator2_cache[
96 * (512 * 8 + 16)
]; // Opaque.
#endif
void CommitBack();
};