blob: e385f3ee575cbe75bf431ecaa95b336a287d13e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- build/config/sanitizers/BUILD.gn.orig 2017-04-19 19:06:28 UTC
+++ build/config/sanitizers/BUILD.gn
@@ -428,7 +428,7 @@ config("lsan_flags") {
config("msan_flags") {
if (is_msan) {
- assert(is_linux, "msan only supported on linux x86_64")
+ assert(is_linux || is_bsd, "msan only supported on linux x86_64")
if (!defined(msan_blacklist_path)) {
msan_blacklist_path =
rebase_path("//tools/msan/blacklist.txt", root_build_dir)
@@ -443,7 +443,7 @@ config("msan_flags") {
config("tsan_flags") {
if (is_tsan) {
- assert(is_linux, "tsan only supported on linux x86_64")
+ assert(is_linux || is_bsd, "tsan only supported on linux x86_64")
if (!defined(tsan_blacklist_path)) {
tsan_blacklist_path =
rebase_path("//tools/memory/tsan_v2/ignores.txt", root_build_dir)
|