[llvm-commits] [compiler-rt] r172194 - /compiler-rt/trunk/lib/asan/asan_allocator2.cc
Kostya Serebryany
kcc at google.com
Fri Jan 11 03:27:42 PST 2013
Author: kcc
Date: Fri Jan 11 05:27:42 2013
New Revision: 172194
URL: http://llvm.org/viewvc/llvm-project?rev=172194&view=rev
Log:
[asan] fid asan_allocator2 build
Modified:
compiler-rt/trunk/lib/asan/asan_allocator2.cc
Modified: compiler-rt/trunk/lib/asan/asan_allocator2.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_allocator2.cc?rev=172194&r1=172193&r2=172194&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_allocator2.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_allocator2.cc Fri Jan 11 05:27:42 2013
@@ -343,7 +343,7 @@
allocated = allocator.Allocate(cache, needed_size, 8, false);
} else {
SpinMutexLock l(&fallback_mutex);
- AllocatorCache *cache = &fallback_cache;
+ AllocatorCache *cache = &fallback_allocator_cache;
allocated = allocator.Allocate(cache, needed_size, 8, false);
}
uptr alloc_beg = reinterpret_cast<uptr>(allocated);
More information about the llvm-commits
mailing list