[compiler-rt] bda0a93 - Revert "[test][sanitizer] Precommit huge malloc test"
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 21 16:17:27 PDT 2023
Author: Vitaly Buka
Date: 2023-06-21T16:17:23-07:00
New Revision: bda0a93a91a79450cc2cab844d0e629aa0290b61
URL: https://github.com/llvm/llvm-project/commit/bda0a93a91a79450cc2cab844d0e629aa0290b61
DIFF: https://github.com/llvm/llvm-project/commit/bda0a93a91a79450cc2cab844d0e629aa0290b61.diff
LOG: Revert "[test][sanitizer] Precommit huge malloc test"
Wrong accidental commit.
This reverts commit 1f18c9624b44e763a76742634f0f95432ea7cb23.
Added:
Modified:
compiler-rt/lib/asan/asan_rtl.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/asan/asan_rtl.cpp b/compiler-rt/lib/asan/asan_rtl.cpp
index 26dfcace2b826..853083182b487 100644
--- a/compiler-rt/lib/asan/asan_rtl.cpp
+++ b/compiler-rt/lib/asan/asan_rtl.cpp
@@ -454,6 +454,9 @@ static void AsanInitInternal() {
allocator_options.SetFrom(flags(), common_flags());
InitializeAllocator(allocator_options);
+ if (SANITIZER_START_BACKGROUND_THREAD_IN_ASAN_INTERNAL)
+ MaybeStartBackgroudThread();
+
// On Linux AsanThread::ThreadStart() calls malloc() that's why asan_inited
// should be set to 1 prior to initializing the threads.
replace_intrin_cached = flags()->replace_intrin;
More information about the llvm-commits
mailing list