[PATCH] [ASan] Add use_madv_dontdump flag.

Kostya Serebryany kcc at google.com
Fri Jan 30 08:50:29 PST 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/asan/asan_flags.inc:80
@@ -79,1 +79,3 @@
           "If set, explicitly unmaps the (huge) shadow at exit.")
+ASAN_FLAG(bool, use_madv_dontdump, true,
+          "If set, instructs kernel to not store the (huge) shadow "
----------------
Please move the flag to sanitizer_common.
Even if you then use it only in asan, we may later want to use it in msan/tsan
(but you are welcome to implement that too, of course)

http://reviews.llvm.org/D7294

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list