* gcc-interface/trans.c (Subprogram_Body_to_gnu): Initialize locus.
[official-gcc.git] / libsanitizer / ubsan / ubsan_flags.inc
blob170777adf26de3a927ab575e327e21deb418cfd6
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.")