[PATCH] D48145: [MSan] Linker-initialize static fallback_mutex in msan_allocator.cc

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 14 11:35:23 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL334749: [MSan] Linker-initialize static fallback_mutex in msan_allocator.cc (authored by alekseyshl, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D48145

Files:
  compiler-rt/trunk/lib/msan/msan_allocator.cc


Index: compiler-rt/trunk/lib/msan/msan_allocator.cc
===================================================================
--- compiler-rt/trunk/lib/msan/msan_allocator.cc
+++ compiler-rt/trunk/lib/msan/msan_allocator.cc
@@ -120,7 +120,7 @@
 
 static Allocator allocator;
 static AllocatorCache fallback_allocator_cache;
-static SpinMutex fallback_mutex;
+static StaticSpinMutex fallback_mutex;
 
 void MsanAllocatorInit() {
   SetAllocatorMayReturnNull(common_flags()->allocator_may_return_null);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48145.151386.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180614/86169398/attachment.bin>


More information about the llvm-commits mailing list