forked from OSchip/llvm-project
Rename asan_allocator2.cc to asan_allocator.cc
llvm-svn: 224396
This commit is contained in:
parent
91bb25f515
commit
2c31cc3cf1
|
|
@ -1,7 +1,7 @@
|
|||
# Build for the AddressSanitizer runtime support library.
|
||||
|
||||
set(ASAN_SOURCES
|
||||
asan_allocator2.cc
|
||||
asan_allocator.cc
|
||||
asan_activation.cc
|
||||
asan_debugging.cc
|
||||
asan_fake_stack.cc
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- asan_allocator2.cc ------------------------------------------------===//
|
||||
//===-- asan_allocator.cc -------------------------------------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
//
|
||||
// This file is a part of AddressSanitizer, an address sanity checker.
|
||||
//
|
||||
// ASan-private header for asan_allocator2.cc.
|
||||
// ASan-private header for asan_allocator.cc.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef ASAN_ALLOCATOR_H
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ TEST(AddressSanitizerInterface, GetCurrentAllocatedBytesTest) {
|
|||
}
|
||||
|
||||
TEST(AddressSanitizerInterface, GetHeapSizeTest) {
|
||||
// asan_allocator2 does not keep huge chunks in free list, but unmaps them.
|
||||
// ASan allocator does not keep huge chunks in free list, but unmaps them.
|
||||
// The chunk should be greater than the quarantine size,
|
||||
// otherwise it will be stuck in quarantine instead of being unmaped.
|
||||
static const size_t kLargeMallocSize = (1 << 28) + 1; // 256M
|
||||
|
|
|
|||
Loading…
Reference in New Issue