1//===-- ubsan_flags.inc -----------------------------------------*- C++ -*-===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// UBSan runtime flags.
11//
12//===----------------------------------------------------------------------===//
13#ifndef UBSAN_FLAG
14# error "Define UBSAN_FLAG prior to including this file!"
15#endif
16
17// UBSAN_FLAG(Type, Name, DefaultValue, Description)
18// See COMMON_FLAG in sanitizer_flags.inc for more details.
19
20UBSAN_FLAG(bool, halt_on_error, false,
21           "Crash the program after printing the first error report")
22UBSAN_FLAG(bool, print_stacktrace, false,
23           "Include full stacktrace into an error report")
24UBSAN_FLAG(const char *, suppressions, "", "Suppressions file name.")
25
26