[compiler-rt] 1f18c96 - [test][sanitizer] Precommit huge malloc test

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 16:14:27 PDT 2023


Author: Vitaly Buka
Date: 2023-06-21T16:14:07-07:00
New Revision: 1f18c9624b44e763a76742634f0f95432ea7cb23

URL: https://github.com/llvm/llvm-project/commit/1f18c9624b44e763a76742634f0f95432ea7cb23
DIFF: https://github.com/llvm/llvm-project/commit/1f18c9624b44e763a76742634f0f95432ea7cb23.diff

LOG: [test][sanitizer] Precommit huge malloc test

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 853083182b487..26dfcace2b826 100644
--- a/compiler-rt/lib/asan/asan_rtl.cpp
+++ b/compiler-rt/lib/asan/asan_rtl.cpp
@@ -454,9 +454,6 @@ 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