Skip to content

Commit

Permalink
Add back function argument lost during merge
Browse files Browse the repository at this point in the history
Change-Id: I060fd4a398caae5090c98e19fd4e693cfb938ca6
  • Loading branch information
b-sumner committed Aug 23, 2024
1 parent 86b0133 commit 6cc7495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler-rt/lib/asan/asan_allocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,11 +584,11 @@ struct Allocator {
void *allocated;
if (t) {
AllocatorCache *cache = GetAllocatorCache(&t->malloc_storage());
allocated = allocator.Allocate(cache, needed_size, 8);
allocated = allocator.Allocate(cache, needed_size, 8, da_info);
} else {
SpinMutexLock l(&fallback_mutex);
AllocatorCache *cache = &fallback_allocator_cache;
allocated = allocator.Allocate(cache, needed_size, 8);
allocated = allocator.Allocate(cache, needed_size, 8, da_info);
}
if (UNLIKELY(!allocated)) {
SetAllocatorOutOfMemory();
Expand Down

0 comments on commit 6cc7495

Please sign in to comment.