1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[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 3b240e5b42
commit 81b1b4c379
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",