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(); }
165
165
166
166
void HwasanAllocatorUnlock () { allocator.ForceUnlock (); }
167
167
168
- void AllocatorSwallowThreadLocalCache (AllocatorCache *cache) {
168
+ void AllocatorThreadFinish (AllocatorCache *cache) {
169
169
allocator.SwallowCache (cache);
170
170
}
171
171
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ typedef SizeClassAllocator64<AP64> PrimaryAllocator;
88
88
typedef CombinedAllocator<PrimaryAllocator> Allocator;
89
89
typedef Allocator::AllocatorCache AllocatorCache;
90
90
91
- void AllocatorSwallowThreadLocalCache (AllocatorCache *cache);
91
+ void AllocatorThreadFinish (AllocatorCache *cache);
92
92
93
93
class HwasanChunkView {
94
94
public:
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ void Thread::ClearShadowForThreadStackAndTLS() {
100
100
void Thread::Destroy () {
101
101
if (flags ()->verbose_threads )
102
102
Print (" Destroying: " );
103
- AllocatorSwallowThreadLocalCache (allocator_cache ());
103
+ AllocatorThreadFinish (allocator_cache ());
104
104
ClearShadowForThreadStackAndTLS ();
105
105
if (heap_allocations_)
106
106
heap_allocations_->Delete ();
You can’t perform that action at this time.
0 commit comments