mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist=
Use that for internal names (including the default ignorelists of the sanitizers). Differential Revision: https://reviews.llvm.org/D101832
This commit is contained in:
parent
86e5cb5706
commit
d0f5fa8245
@ -120,7 +120,7 @@ target(asan_target_type, "asan") {
|
|||||||
# FIXME: add_sanitizer_rt_version_list (cf hwasan)
|
# FIXME: add_sanitizer_rt_version_list (cf hwasan)
|
||||||
# FIXME: need libclang_rt.asan*.a.syms?
|
# FIXME: need libclang_rt.asan*.a.syms?
|
||||||
# FIXME: windows flags (-Zl -nodefaultlibs)
|
# FIXME: windows flags (-Zl -nodefaultlibs)
|
||||||
# FIXME: asan_blacklist.txt
|
# FIXME: asan_ignorelist.txt
|
||||||
|
|
||||||
if (target_os == "android") {
|
if (target_os == "android") {
|
||||||
ldflags = [ "-Wl,-z,global" ]
|
ldflags = [ "-Wl,-z,global" ]
|
||||||
|
@ -6,7 +6,7 @@ source_set("sources") {
|
|||||||
sources = [ "cfi.cpp" ]
|
sources = [ "cfi.cpp" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
copy("blacklist") {
|
copy("ignorelist") {
|
||||||
sources = [ "cfi_blacklist.txt" ]
|
sources = [ "cfi_ignorelist.txt" ]
|
||||||
outputs = [ "$clang_resource_dir/share/{{source_target_relative}}" ]
|
outputs = [ "$clang_resource_dir/share/{{source_target_relative}}" ]
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ target(tsan_target_type, "tsan") {
|
|||||||
# FIXME: dep on libcxx-headers?
|
# FIXME: dep on libcxx-headers?
|
||||||
# FIXME: add_sanitizer_rt_version_list (cf hwasan)
|
# FIXME: add_sanitizer_rt_version_list (cf hwasan)
|
||||||
# FIXME: need libclang_rt.tsan*.a.syms?
|
# FIXME: need libclang_rt.tsan*.a.syms?
|
||||||
# FIXME: tsan_blacklist.txt
|
# FIXME: tsan_ignorelist.txt
|
||||||
|
|
||||||
if (target_os == "mac") {
|
if (target_os == "mac") {
|
||||||
# The -U flags below correspond to the add_weak_symbols() calls in CMake.
|
# The -U flags below correspond to the add_weak_symbols() calls in CMake.
|
||||||
|
@ -33,7 +33,7 @@ if (current_toolchain != host_toolchain) {
|
|||||||
deps = [
|
deps = [
|
||||||
":lit_site_cfg",
|
":lit_site_cfg",
|
||||||
"//compiler-rt/include($host_toolchain)",
|
"//compiler-rt/include($host_toolchain)",
|
||||||
"//compiler-rt/lib/cfi:blacklist($host_toolchain)",
|
"//compiler-rt/lib/cfi:ignorelist($host_toolchain)",
|
||||||
"//compiler-rt/lib/hwasan:hwasan_shared",
|
"//compiler-rt/lib/hwasan:hwasan_shared",
|
||||||
"//compiler-rt/test:lit_common_configured",
|
"//compiler-rt/test:lit_common_configured",
|
||||||
"//llvm/utils/FileCheck($host_toolchain)",
|
"//llvm/utils/FileCheck($host_toolchain)",
|
||||||
|
Loading…
Reference in New Issue
Block a user