Rename asan_allocator2.cc to asan_allocator.cc

llvm-svn: 224396
This commit is contained in:
Alexey Samsonov 2014-12-17 00:26:50 +00:00
parent 91bb25f515
commit 2c31cc3cf1
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
//===-- asan_allocator2.cc ------------------------------------------------===//
//===-- asan_allocator.cc -------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//

View File

@ -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

View File

@ -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