diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-11-14 08:56:59 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-11-14 08:56:59 +0000 |
commit | 694d85636b148dfcac37e5c23639baa8fe9abce9 (patch) | |
tree | ec373649a4c0d1336bcb8774a40058de1d750d38 /lib/sanitizer_common/sanitizer_flags.h | |
parent | d2e32e323cca83b666ecd124ebfd1720232d0928 (diff) |
[Sanitizer] Add print_summary runtime flag to disable error summaries (UBSan doesn't need them)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_flags.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_flags.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_flags.h b/lib/sanitizer_common/sanitizer_flags.h index b8a6b15d8..9461dff80 100644 --- a/lib/sanitizer_common/sanitizer_flags.h +++ b/lib/sanitizer_common/sanitizer_flags.h @@ -51,6 +51,8 @@ struct CommonFlags { bool leak_check_at_exit; // If false, the allocator will crash instead of returning 0 on out-of-memory. bool allocator_may_return_null; + // If false, disable printing error summaries in addition to error reports. + bool print_summary; }; inline CommonFlags *common_flags() { |