diff options
author | Yury Gribov <y.gribov@samsung.com> | 2015-02-03 10:15:15 +0000 |
---|---|---|
committer | Yury Gribov <y.gribov@samsung.com> | 2015-02-03 10:15:15 +0000 |
commit | 539e8ee1516c97752b89dbe63d72878461c550a7 (patch) | |
tree | b8c4676448bd26fb089109331eaeab5f4341750b /lib/sanitizer_common/sanitizer_flags.inc | |
parent | f334db3fea2a7811280730334b5a23d44dad4e81 (diff) |
[ASan] Add use_madv_dontdump flag.
Differential Revision: http://reviews.llvm.org/D7294
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@227959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_flags.inc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_flags.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_flags.inc b/lib/sanitizer_common/sanitizer_flags.inc index f9c831f46..e8c8a8753 100644 --- a/lib/sanitizer_common/sanitizer_flags.inc +++ b/lib/sanitizer_common/sanitizer_flags.inc @@ -136,6 +136,9 @@ COMMON_FLAG( "Disable core dumping. By default, disable_core=1 on 64-bit to avoid " "dumping a 16T+ core file. Ignored on OSes that don't dump core by" "default and for sanitizers that don't reserve lots of virtual memory.") +COMMON_FLAG(bool, use_madv_dontdump, true, + "If set, instructs kernel to not store the (huge) shadow " + "in core file.") COMMON_FLAG(bool, symbolize_inline_frames, true, "Print inlined frames in stacktraces. Defaults to true.") COMMON_FLAG(const char *, stack_trace_format, "DEFAULT", |