• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 Damian Jarek
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or copy at
4# http://www.boost.org/LICENSE_1_0.txt)
5
6import feature ;
7
8#| tag::addr-doc[]
9
10[[bbv2.builtin.features.address-sanitizer]]`address-sanitizer`::
11*Allowed values:* `on`, `norecover`.
12+
13Enables address sanitizer. Value `norecover` disables recovery for the
14sanitizer. The feature is optional, thus no sanitizer is enabled by default.
15
16|# # end::addr-doc[]
17
18feature.feature address-sanitizer
19    : on norecover
20    : propagated optional ;
21
22#| tag::leak-doc[]
23
24[[bbv2.builtin.features.leak-sanitizer]]`leak-sanitizer`::
25*Allowed values:* `on`, `norecover`.
26+
27Enables leak sanitizer. Value `norecover` disables recovery for the
28sanitizer. The feature is optional, thus no sanitizer is enabled by default.
29
30|# # end::leak-doc[]
31
32feature.feature leak-sanitizer
33    : on norecover
34    : propagated optional ;
35
36#| tag::thread-doc[]
37
38[[bbv2.builtin.features.thread-sanitizer]]`thread-sanitizer`::
39*Allowed values:* `on`, `norecover`.
40+
41Enables thread sanitizer. Value `norecover` disables recovery for the
42sanitizer. The feature is optional, thus no sanitizer is enabled by default.
43
44|# # end::thread-doc[]
45
46feature.feature thread-sanitizer
47    : on norecover
48    : propagated optional ;
49
50#| tag::undef-doc[]
51
52[[bbv2.builtin.features.undefined-sanitizer]]`undefined-sanitizer`::
53*Allowed values:* `on`, `norecover`.
54+
55Enables undefined behavior sanitizer. Value `norecover` disables recovery for
56the sanitizer. The feature is optional, thus no sanitizer is enabled by
57default.
58
59|# # end::undef-doc[]
60
61feature.feature undefined-sanitizer
62    : on norecover
63    : propagated optional ;
64