[gn build] hook up tsan on macOS too

Mostly just works already.
This commit is contained in:
Nico Weber 2021-04-02 19:21:34 -04:00
parent 817d98d841
commit 03c41191af
2 changed files with 2 additions and 10 deletions

View File

@ -3,9 +3,6 @@ group("lib") {
"//compiler-rt/lib/asan",
"//compiler-rt/lib/builtins",
"//compiler-rt/lib/profile",
"//compiler-rt/lib/tsan" ,
]
if (target_os == "linux") {
# FIXME: Make work on macOS.
deps += [ "//compiler-rt/lib/tsan" ]
}
}

View File

@ -145,12 +145,7 @@ target(tsan_target_type, "tsan") {
ldflags = [
"-lc++",
"-lc++abi",
# tsan
# FIXME
# ubsan
"-Wl,-U,___ubsan_default_options",
"-lobjc",
# sanitizer_common
"-Wl,-U,___sanitizer_free_hook",