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:
parent
3b240e5b42
commit
81b1b4c379
@ -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" ]
|
||||
}
|
||||
}
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user