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:
Eric Engestrom 2024-04-30 23:00:14 +02:00 committed by Marge Bot
parent 84139470a5
commit 47f6e24ad5
2 changed files with 1 additions and 1 deletions

View File

@ -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