-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.bazelrc
More file actions
34 lines (31 loc) · 1.03 KB
/
.bazelrc
File metadata and controls
34 lines (31 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Address sanitizer configuration.
# ASAN_SYMBOLIZER_PATH=/usr/local/Cellar/llvm/13.0.0_1/bin/llvm-symbolizer
# Address sanitizer config
# Use with bazel run --config=asan or lsan
build:asan --strip=never
build:asan --copt -fsanitize=address
build:asan --copt -DADDRESS_SANITIZER
build:asan --copt -O0
build:asan --copt -g
build:asan --copt -fno-omit-frame-pointer
build:asan --linkopt -fsanitize=address
build:asan --sandbox_debug
build:asan --spawn_strategy=standalone
# undefined behavior sanitizer config
build:ubsan --strip=never
build:ubsan --copt -fsanitize=undefined
build:ubsan --copt -DADDRESS_SANITIZER
build:ubsan --copt -O0
build:ubsan --copt -g
build:ubsan --copt -fno-omit-frame-pointer
build:ubsan --linkopt -fsanitize=undefined
build:ubsan --sandbox_debug
build:ubsan --spawn_strategy=standalone
# Memory sanitizer config
build:msan --strip=never
build:msan --copt -fsanitize=memory
build:msan --copt -O0
build:msan --copt -g
build:msan --linkopt -fsanitize=memory
build:msan --sandbox_debug
build:msan --spawn_strategy=standalone