annotate libsanitizer/ubsan/ubsan_flags.inc @ 118:fd00160c1b76

ifdef TARGET_64BIT
author mir3636
date Tue, 27 Feb 2018 15:01:35 +0900
parents 04ced10e8804
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 //===-- ubsan_flags.inc -----------------------------------------*- C++ -*-===//
kono
parents:
diff changeset
2 //
kono
parents:
diff changeset
3 // This file is distributed under the University of Illinois Open Source
kono
parents:
diff changeset
4 // License. See LICENSE.TXT for details.
kono
parents:
diff changeset
5 //
kono
parents:
diff changeset
6 //===----------------------------------------------------------------------===//
kono
parents:
diff changeset
7 //
kono
parents:
diff changeset
8 // UBSan runtime flags.
kono
parents:
diff changeset
9 //
kono
parents:
diff changeset
10 //===----------------------------------------------------------------------===//
kono
parents:
diff changeset
11 #ifndef UBSAN_FLAG
kono
parents:
diff changeset
12 # error "Define UBSAN_FLAG prior to including this file!"
kono
parents:
diff changeset
13 #endif
kono
parents:
diff changeset
14
kono
parents:
diff changeset
15 // UBSAN_FLAG(Type, Name, DefaultValue, Description)
kono
parents:
diff changeset
16 // See COMMON_FLAG in sanitizer_flags.inc for more details.
kono
parents:
diff changeset
17
kono
parents:
diff changeset
18 UBSAN_FLAG(bool, halt_on_error, false,
kono
parents:
diff changeset
19 "Crash the program after printing the first error report")
kono
parents:
diff changeset
20 UBSAN_FLAG(bool, print_stacktrace, false,
kono
parents:
diff changeset
21 "Include full stacktrace into an error report")
kono
parents:
diff changeset
22 UBSAN_FLAG(const char *, suppressions, "", "Suppressions file name.")
kono
parents:
diff changeset
23 UBSAN_FLAG(bool, report_error_type, false,
kono
parents:
diff changeset
24 "Print specific error type instead of 'undefined-behavior' in summary.")