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 | 498e5906ad8e0e9959a1ec146cac01850829690e (patch) | |
| tree | 671f3d38d8a9b60abe7f89547d93059c9f278676 /compiler-rt/lib/sanitizer_common/sanitizer_flags.h | |
| parent | f4760455e80a7c614edc72bdcbfa58eb10d92d35 (diff) | |
| download | bcm5719-llvm-498e5906ad8e0e9959a1ec146cac01850829690e.tar.gz bcm5719-llvm-498e5906ad8e0e9959a1ec146cac01850829690e.zip | |
[Sanitizer] Add print_summary runtime flag to disable error summaries (UBSan doesn't need them)
llvm-svn: 194685
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_flags.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_flags.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_flags.h b/compiler-rt/lib/sanitizer_common/sanitizer_flags.h index b8a6b15d8bb..9461dff8033 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_flags.h +++ b/compiler-rt/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() { |

