Skip to content

Commit eed8503

Browse files
committed
Address comments of @b-sumner.
Fix Typo.
1 parent 601f453 commit eed8503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/asan/asan_allocator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,7 @@ hsa_status_t asan_hsa_amd_ipc_memory_create(void* ptr, size_t len,
14661466
uptr p = reinterpret_cast<uptr>(ptr);
14671467
uptr p_ = reinterpret_cast<uptr>(ptr_);
14681468
if (p == p_ + kPageSize_ && len == m->UsedSize()) {
1469-
size_t len_ = get_allocator().GetActuallyAllocatedSize(ptr);
1469+
size_t len_ = get_allocator().GetActuallyAllocatedSize(ptr_);
14701470
return REAL(hsa_amd_ipc_memory_create)(ptr_, len_, handle);
14711471
}
14721472
}

0 commit comments

Comments
 (0)