[llvm-commits] [compiler-rt] r170118 - /compiler-rt/trunk/lib/asan/asan_malloc_mac.cc
Kostya Serebryany
kcc at google.com
Thu Dec 13 02:01:20 PST 2012
Author: kcc
Date: Thu Dec 13 04:01:20 2012
New Revision: 170118
URL: http://llvm.org/viewvc/llvm-project?rev=170118&view=rev
Log:
[asan] fix mac build
Modified:
compiler-rt/trunk/lib/asan/asan_malloc_mac.cc
Modified: compiler-rt/trunk/lib/asan/asan_malloc_mac.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_malloc_mac.cc?rev=170118&r1=170117&r2=170118&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_malloc_mac.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_malloc_mac.cc Thu Dec 13 04:01:20 2012
@@ -242,7 +242,7 @@
// We can't recover from reallocating an unknown address, because
// this would require reading at most |size| bytes from
// potentially unaccessible memory.
- ET_STACK_TRACE_FREE(ptr);
+ GET_STACK_TRACE_FREE;
GET_ZONE_FOR_PTR(ptr);
ReportMacCfReallocUnknown((uptr)ptr, (uptr)zone_ptr, zone_name, &stack);
}
More information about the llvm-commits
mailing list