1//===----------------------------------------------------------------------===//
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/// \file
10/// Host ConcurrencySanitizer runtime flags.
11///
12//===----------------------------------------------------------------------===//
13
14#ifndef CSAN_FLAG
15#error "Define CSAN_FLAG prior to including this file!"
16#endif
17
18// CSAN_FLAG(Type, Name, DefaultValue, Description)
19
20CSAN_FLAG(int, udelay, 80, "Microseconds to stall after arming a watchpoint.")
21CSAN_FLAG(int, skip_watch, 4000,
22 "Skip this many accesses (per thread) before arming a watchpoint.")
23CSAN_FLAG(bool, halt_on_error, false, "Die after the first reported race.")
24