1//===------------------------ rtsan_flags.inc -------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// RTSan runtime flags.
10//
11//===----------------------------------------------------------------------===//
12#ifndef RTSAN_FLAG
13#error "Define RTSAN_FLAG prior to including this file!"
14#endif
15
16// RTSAN_FLAG(Type, Name, DefaultValue, Description)
17// See COMMON_FLAG in sanitizer_flags.inc for more details.
18
19RTSAN_FLAG(bool, halt_on_error, true, "Exit after first reported error.")
20RTSAN_FLAG(bool, print_stats_on_exit, false, "Print stats on exit.")
21RTSAN_FLAG(const char *, suppressions, "", "Suppressions file name.")
22RTSAN_FLAG(bool, suppress_equal_stacks, true,
23 "Suppress a report if we've already output another report "
24 "with the same stack.")
25