[PATCH] D48528: [UBsan] Enable ubsan minimal unit tests on OpenBSD
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 25 11:03:33 PDT 2018
vitalybuka added inline comments.
================
Comment at: cmake/Modules/SanitizerUtils.cmake:84
# Add target to check code style for sanitizer runtimes.
-if(CMAKE_HOST_UNIX)
+if(CMAKE_HOST_UNIX AND NOT OS_NAME MATCHES "OpenBSD")
add_custom_target(SanitizerLintCheck
----------------
Why? It just needs a python.
================
Comment at: test/ubsan_minimal/lit.common.cfg:26
+if config.host_os == 'OpenBSD':
+ clang_ubsan_cflags.append("-fuse-ld=lld")
+ clang_ubsan_cxxflags.append("-fuse-ld=lld")
----------------
Why is OpenBSD special here?
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D48528
More information about the llvm-commits
mailing list