[PATCH] D113689: [llvm][ubsan] Inclusive language: replace use of blacklist HandleLLVMOptions.cmake
Zarko Todorovski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 15 08:22:19 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG44a64afd4394: [llvm][ubsan] Inclusive language: replace use of blacklist HandleLLVMOptions. (authored by ZarkoCA).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113689/new/
https://reviews.llvm.org/D113689
Files:
llvm/cmake/modules/HandleLLVMOptions.cmake
llvm/utils/sanitizers/ubsan_blacklist.txt
llvm/utils/sanitizers/ubsan_ignorelist.txt
Index: llvm/utils/sanitizers/ubsan_ignorelist.txt
===================================================================
--- llvm/utils/sanitizers/ubsan_ignorelist.txt
+++ llvm/utils/sanitizers/ubsan_ignorelist.txt
@@ -1,4 +1,4 @@
-# This blacklist should be applied when LLVM is built
+# This ignorelist 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.
Index: llvm/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm/cmake/modules/HandleLLVMOptions.cmake
+++ llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -870,9 +870,9 @@
append("-fsanitize=fuzzer-no-link" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
endif()
if (LLVM_USE_SANITIZER MATCHES ".*Undefined.*")
- set(BLACKLIST_FILE "${CMAKE_SOURCE_DIR}/utils/sanitizers/ubsan_blacklist.txt")
- if (EXISTS "${BLACKLIST_FILE}")
- append("-fsanitize-blacklist=${BLACKLIST_FILE}"
+ set(IGNORELIST_FILE "${CMAKE_SOURCE_DIR}/utils/sanitizers/ubsan_ignorelist.txt")
+ if (EXISTS "${IGNORELIST_FILE}")
+ append("-fsanitize-ignorelist=${IGNORELIST_FILE}"
CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
endif()
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113689.387282.patch
Type: text/x-patch
Size: 1296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211115/9bcd8cde/attachment.bin>
More information about the llvm-commits
mailing list