[compiler-rt] r193729 - [ASan] Turn on (non-strict) initialization order checker by default for all ASan users

Alexey Samsonov samsonov at google.com
Wed Oct 30 17:40:15 PDT 2013


Author: samsonov
Date: Wed Oct 30 19:40:15 2013
New Revision: 193729

URL: http://llvm.org/viewvc/llvm-project?rev=193729&view=rev
Log:
[ASan] Turn on (non-strict) initialization order checker by default for all ASan users

Modified:
    compiler-rt/trunk/lib/asan/asan_rtl.cc

Modified: compiler-rt/trunk/lib/asan/asan_rtl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_rtl.cc?rev=193729&r1=193728&r2=193729&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_rtl.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_rtl.cc Wed Oct 30 19:40:15 2013
@@ -149,7 +149,7 @@ void InitializeFlags(Flags *f, const cha
   f->redzone = 16;
   f->debug = false;
   f->report_globals = 1;
-  f->check_initialization_order = false;
+  f->check_initialization_order = true;
   f->replace_str = true;
   f->replace_intrin = true;
   f->mac_ignore_invalid_free = false;





More information about the llvm-commits mailing list