File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ void HwasanAllocatorLock() { allocator.ForceLock(); }
165165
166166void HwasanAllocatorUnlock () { allocator.ForceUnlock (); }
167167
168- void AllocatorSwallowThreadLocalCache (AllocatorCache *cache) {
168+ void AllocatorThreadFinish (AllocatorCache *cache) {
169169 allocator.SwallowCache (cache);
170170}
171171
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ typedef SizeClassAllocator64<AP64> PrimaryAllocator;
8888typedef CombinedAllocator<PrimaryAllocator> Allocator;
8989typedef Allocator::AllocatorCache AllocatorCache;
9090
91- void AllocatorSwallowThreadLocalCache (AllocatorCache *cache);
91+ void AllocatorThreadFinish (AllocatorCache *cache);
9292
9393class HwasanChunkView {
9494 public:
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ void Thread::ClearShadowForThreadStackAndTLS() {
100100void Thread::Destroy () {
101101 if (flags ()->verbose_threads )
102102 Print (" Destroying: " );
103- AllocatorSwallowThreadLocalCache (allocator_cache ());
103+ AllocatorThreadFinish (allocator_cache ());
104104 ClearShadowForThreadStackAndTLS ();
105105 if (heap_allocations_)
106106 heap_allocations_->Delete ();
You can’t perform that action at this time.
0 commit comments