diff options
author | Kostya Serebryany <kcc@google.com> | 2013-09-13 07:20:35 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2013-09-13 07:20:35 +0000 |
commit | dff16d41223d2df3762ba64a0a529c5e475de34f (patch) | |
tree | f7c85906a193f73a5c5041b4a26065c2cbb169eb /lib/asan/asan_fake_stack.h | |
parent | 9433af375c7813486be91d2ac76f5072ee41818d (diff) |
[asan] more performance to FakeStack: a) don't used atomic exchange, instead rely on regular load and store and other signal-safe logic; b) remove allocated_from_size_class_mask_ which is not helping much anyway; Another 10% speedup
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_fake_stack.h')
-rw-r--r-- | lib/asan/asan_fake_stack.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/asan/asan_fake_stack.h b/lib/asan/asan_fake_stack.h index 9f1da6360..c46e3e8ba 100644 --- a/lib/asan/asan_fake_stack.h +++ b/lib/asan/asan_fake_stack.h @@ -164,7 +164,6 @@ class FakeStack { uptr hint_position_[kNumberOfSizeClasses]; uptr stack_size_log_; // a bit is set if something was allocated from the corresponding size class. - uptr allocated_from_size_class_mask_; bool needs_gc_; }; |