[ASan/RTL] Disable alloc_dealloc_mismatch by default on Windows

llvm-svn: 188541
This commit is contained in:
Timur Iskhodzhanov 2013-08-16 11:04:59 +00:00
parent e3827751e2
commit 51cda144ae
1 changed files with 3 additions and 3 deletions

View File

@ -168,9 +168,9 @@ void InitializeFlags(Flags *f, const char *env) {
f->allow_reexec = true;
f->print_full_thread_history = true;
f->poison_heap = true;
// Turn off alloc/dealloc mismatch checker on Mac for now.
// TODO(glider): Fix known issues and enable this back.
f->alloc_dealloc_mismatch = (SANITIZER_MAC == 0);;
// Turn off alloc/dealloc mismatch checker on Mac and Windows for now.
// TODO(glider,timurrrr): Fix known issues and enable this back.
f->alloc_dealloc_mismatch = (SANITIZER_MAC == 0) && (SANITIZER_WINDOWS == 0);
f->use_stack_depot = true;
f->strict_memcmp = true;
f->strict_init_order = false;