mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-23 02:04:41 +08:00
meson: move tsan-blacklist.txt to build-support with the other build support files
Fixes: 0d46e0e88b
("meson: Add blacklist when compiling with tsan")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28996>
This commit is contained in:
parent
84139470a5
commit
47f6e24ad5
@ -1923,7 +1923,7 @@ if get_option('b_sanitize') == 'thread'
|
||||
# meson versions prior to 1.4 will warn "Consider using the built-in option for sanitizers ..."
|
||||
# later on because it only checks whether the option starts with "-fsanitize",
|
||||
# but there is no built-in option for adding a blacklist
|
||||
tsan_blacklist = '-fsanitize-blacklist=@0@'.format(join_paths(meson.project_source_root(), 'tsan-blacklist.txt'))
|
||||
tsan_blacklist = '-fsanitize-blacklist=@0@'.format(join_paths(meson.project_source_root(), 'build-support', 'tsan-blacklist.txt'))
|
||||
if cc.has_argument(tsan_blacklist)
|
||||
pre_args += tsan_blacklist
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user