__sanitizer_get_current_allocated_bytes had as body, but allocator
caches were not registered to collect stats. It's done by
SizeClassAllocator64LocalCache::Init().
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D151389
[hwasan] Fix allocator_interface implementation ClosedPublic Authored by vitalybuka on May 24 2023, 4:52 PM.
Details Summary __sanitizer_get_current_allocated_bytes had as body, but allocator
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 24 2023, 5:11 PM Closed by commit rGd9b574c312c3: [hwasan] Fix allocator_interface implementation (authored by vitalybuka). · Explain WhyMay 24 2023, 6:05 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 525390 compiler-rt/lib/hwasan/hwasan_allocator.h
compiler-rt/lib/hwasan/hwasan_allocator.cpp
compiler-rt/lib/hwasan/hwasan_thread.cpp
compiler-rt/test/sanitizer_common/TestCases/allocator_interface.cpp
|