projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
071890b
)
[ASan] temporarily disable alloc_dealloc_mismatch on Mac, since the previous commit...
author
Alexander Potapenko
<glider@google.com>
Thu, 21 Feb 2013 17:12:21 +0000
(17:12 +0000)
committer
Alexander Potapenko
<glider@google.com>
Thu, 21 Feb 2013 17:12:21 +0000
(17:12 +0000)
llvm-svn: 175766
compiler-rt/lib/asan/asan_rtl.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/asan/asan_rtl.cc
b/compiler-rt/lib/asan/asan_rtl.cc
index
d42c674
..
83aa1f4
100644
(file)
--- a/
compiler-rt/lib/asan/asan_rtl.cc
+++ b/
compiler-rt/lib/asan/asan_rtl.cc
@@
-164,7
+164,9
@@
void InitializeFlags(Flags *f, const char *env) {
f->fast_unwind_on_fatal = false;
f->fast_unwind_on_malloc = true;
f->poison_heap = true;
- f->alloc_dealloc_mismatch = true;
+ // Turn off alloc/dealloc mismatch checker on Mac for now.
+ // TODO(glider): Fix known issues and enable this back.
+ f->alloc_dealloc_mismatch = (ASAN_MAC == 0);;
f->use_stack_depot = true; // Only affects allocator2.
// Override from compile definition.