[llvm] 691a7fe - Revert "[llvm][ubsan] Inclusive language: replace use of blacklist HandleLLVMOptions.cmake"
Zarko Todorovski via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 15 10:54:26 PST 2021
Author: Zarko Todorovski
Date: 2021-11-15T18:54:15Z
New Revision: 691a7feec47362c4a0d4e3127e2740a9fbd2c842
URL: https://github.com/llvm/llvm-project/commit/691a7feec47362c4a0d4e3127e2740a9fbd2c842
DIFF: https://github.com/llvm/llvm-project/commit/691a7feec47362c4a0d4e3127e2740a9fbd2c842.diff
LOG: Revert "[llvm][ubsan] Inclusive language: replace use of blacklist HandleLLVMOptions.cmake"
This reverts commit 44a64afd43943ed6f47c37f61a6cd2e99c7287f3.
Added:
llvm/utils/sanitizers/ubsan_blacklist.txt
Modified:
llvm/cmake/modules/HandleLLVMOptions.cmake
Removed:
llvm/utils/sanitizers/ubsan_ignorelist.txt
################################################################################
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake
index 2c8cc10f861a4..54eebb8d6b454 100644
--- a/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -870,9 +870,9 @@ if(LLVM_USE_SANITIZER)
append("-fsanitize=fuzzer-no-link" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
endif()
if (LLVM_USE_SANITIZER MATCHES ".*Undefined.*")
- set(IGNORELIST_FILE "${CMAKE_SOURCE_DIR}/utils/sanitizers/ubsan_ignorelist.txt")
- if (EXISTS "${IGNORELIST_FILE}")
- append("-fsanitize-ignorelist=${IGNORELIST_FILE}"
+ set(BLACKLIST_FILE "${CMAKE_SOURCE_DIR}/utils/sanitizers/ubsan_blacklist.txt")
+ if (EXISTS "${BLACKLIST_FILE}")
+ append("-fsanitize-blacklist=${BLACKLIST_FILE}"
CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
endif()
endif()
diff --git a/llvm/utils/sanitizers/ubsan_ignorelist.txt b/llvm/utils/sanitizers/ubsan_blacklist.txt
similarity index 91%
rename from llvm/utils/sanitizers/ubsan_ignorelist.txt
rename to llvm/utils/sanitizers/ubsan_blacklist.txt
index f8fbb77ead316..144ab1f4685d1 100644
--- a/llvm/utils/sanitizers/ubsan_ignorelist.txt
+++ b/llvm/utils/sanitizers/ubsan_blacklist.txt
@@ -1,4 +1,4 @@
-# This ignorelist should be applied when LLVM is built
+# This blacklist should be applied when LLVM is built
# with -fsanitize=undefined instrumentation. It exists
# because libstdc++ has some undefined behavior issues
# in some of the headers, in particular, stl_tree.h.
More information about the llvm-commits
mailing list