Only use __float128 in test if available
[official-gcc.git] / libsanitizer / ubsan / ubsan_flags.inc
blob438ea0b81bef106c72c9974266216f0df5a71a36
1 //===-- ubsan_flags.inc -----------------------------------------*- C++ -*-===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // UBSan runtime flags.
9 //
10 //===----------------------------------------------------------------------===//
11 #ifndef UBSAN_FLAG
12 # error "Define UBSAN_FLAG prior to including this file!"
13 #endif
15 // UBSAN_FLAG(Type, Name, DefaultValue, Description)
16 // See COMMON_FLAG in sanitizer_flags.inc for more details.
18 UBSAN_FLAG(bool, halt_on_error, false,
19            "Crash the program after printing the first error report")
20 UBSAN_FLAG(bool, print_stacktrace, false,
21            "Include full stacktrace into an error report")
22 UBSAN_FLAG(const char *, suppressions, "", "Suppressions file name.")
23 UBSAN_FLAG(bool, report_error_type, false,
24         "Print specific error type instead of 'undefined-behavior' in summary.")
25 UBSAN_FLAG(bool, silence_unsigned_overflow, false,
26         "Do not print error reports for unsigned integer overflow. "
27         "Used to provide fuzzing signal without blowing up logs.")