diff options
Diffstat (limited to 'contrib/compiler-rt/lib/msan/msan_flags.h')
-rw-r--r-- | contrib/compiler-rt/lib/msan/msan_flags.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/contrib/compiler-rt/lib/msan/msan_flags.h b/contrib/compiler-rt/lib/msan/msan_flags.h index 9b93f118a985..4fc6d172a04a 100644 --- a/contrib/compiler-rt/lib/msan/msan_flags.h +++ b/contrib/compiler-rt/lib/msan/msan_flags.h @@ -9,28 +9,18 @@ // // This file is a part of MemorySanitizer. // -// MemorySanitizer allocator. //===----------------------------------------------------------------------===// #ifndef MSAN_FLAGS_H #define MSAN_FLAGS_H namespace __msan { -// Flags. struct Flags { - int exit_code; - int origin_history_size; - int origin_history_per_stack_limit; - bool poison_heap_with_zeroes; // default: false - bool poison_stack_with_zeroes; // default: false - bool poison_in_malloc; // default: true - bool poison_in_free; // default: true - bool report_umrs; - bool wrap_signals; - bool print_stats; - bool halt_on_error; - bool atexit; - int store_context_size; // like malloc_context_size, but for uninit stores +#define MSAN_FLAG(Type, Name, DefaultValue, Description) Type Name; +#include "msan_flags.inc" +#undef MSAN_FLAG + + void SetDefaults(); }; Flags *flags(); |