diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-14 15:38:48 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-14 15:38:48 +0000 |
commit | 5894cadf20b9970848068ff54fa4e2bfd0a9683b (patch) | |
tree | d2cbfed3f6ec3aaf3c88cfee1f6512e155cc82f8 /lib/asan/asan_activation.cc | |
parent | 3bce7d2fca357e6a1db9eff4a1c58545a3020f1b (diff) | |
download | src-vendor/compiler-rt/compiler-rt-release_40-r292009.tar.gz src-vendor/compiler-rt/compiler-rt-release_40-r292009.zip |
Vendor import of compiler-rt release_40 branch r292009:vendor/compiler-rt/compiler-rt-release_40-r292951vendor/compiler-rt/compiler-rt-release_40-r292732vendor/compiler-rt/compiler-rt-release_40-r292009
Diffstat (limited to 'lib/asan/asan_activation.cc')
-rw-r--r-- | lib/asan/asan_activation.cc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/asan/asan_activation.cc b/lib/asan/asan_activation.cc index bb41a0eb559e..7e4e604dc218 100644 --- a/lib/asan/asan_activation.cc +++ b/lib/asan/asan_activation.cc @@ -77,12 +77,13 @@ static struct AsanDeactivatedFlags { void Print() { Report( - "quarantine_size_mb %d, max_redzone %d, poison_heap %d, " - "malloc_context_size %d, alloc_dealloc_mismatch %d, " - "allocator_may_return_null %d, coverage %d, coverage_dir %s, " - "allocator_release_to_os_interval_ms %d\n", - allocator_options.quarantine_size_mb, allocator_options.max_redzone, - poison_heap, malloc_context_size, + "quarantine_size_mb %d, thread_local_quarantine_size_kb %d, " + "max_redzone %d, poison_heap %d, malloc_context_size %d, " + "alloc_dealloc_mismatch %d, allocator_may_return_null %d, coverage %d, " + "coverage_dir %s, allocator_release_to_os_interval_ms %d\n", + allocator_options.quarantine_size_mb, + allocator_options.thread_local_quarantine_size_kb, + allocator_options.max_redzone, poison_heap, malloc_context_size, allocator_options.alloc_dealloc_mismatch, allocator_options.may_return_null, coverage, coverage_dir, allocator_options.release_to_os_interval_ms); @@ -109,6 +110,7 @@ void AsanDeactivate() { AllocatorOptions disabled = asan_deactivated_flags.allocator_options; disabled.quarantine_size_mb = 0; + disabled.thread_local_quarantine_size_kb = 0; disabled.min_redzone = 16; // Redzone must be at least 16 bytes long. disabled.max_redzone = 16; disabled.alloc_dealloc_mismatch = false; |