From 3bd0141232dc951e418a170dbc29fc76b37f1742 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 28 Aug 2015 20:40:50 +0000 Subject: [compiler-rt] [tsan] Enable TSan for AArch64/42-bit VMA This patch adds support for tsan on aarch64-linux with 42-bit VMA (current default config for 64K pagesize kernels). The support is enabled by defining the SANITIZER_AARCH64_VMA to 42 at build time for both clang/llvm and compiler-rt. The default VMA is 39 bits. It also enabled tsan for previous supported VMA (39). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@246330 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/sanitizer_common/sanitizer_allocator.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/sanitizer_common/sanitizer_allocator.h') diff --git a/lib/sanitizer_common/sanitizer_allocator.h b/lib/sanitizer_common/sanitizer_allocator.h index deaffef71..e53068259 100644 --- a/lib/sanitizer_common/sanitizer_allocator.h +++ b/lib/sanitizer_common/sanitizer_allocator.h @@ -822,6 +822,10 @@ class SizeClassAllocator32 { void PrintStats() { } + static uptr AdditionalSize() { + return 0; + } + typedef SizeClassMap SizeClassMapT; static const uptr kNumClasses = SizeClassMap::kNumClasses; -- cgit v1.2.1