mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 20:14:23 +08:00
CI: Enable libc++ hardening in the ASAN build for even more checks
https://libcxx.llvm.org/Hardening.html PiperOrigin-RevId: 834818278 Change-Id: I063068001c7726b2d74628a0c85445e567e546c1
This commit is contained in:
committed by
Copybara-Service
parent
482a9745b3
commit
8cd0e4447b
@@ -81,6 +81,7 @@ for std in ${STD}; do
|
||||
--action_env=\"CPLUS_INCLUDE_PATH=/opt/llvm/libcxx/include/c++/v1\" \
|
||||
--compilation_mode=\"${compilation_mode}\" \
|
||||
--copt=\"${exceptions_mode}\" \
|
||||
--copt=\"-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG\" \
|
||||
--copt=\"-DGTEST_REMOVE_LEGACY_TEST_CASEAPI_=1\" \
|
||||
--copt=\"-fsanitize=address\" \
|
||||
--copt=\"-fsanitize=${UBSAN_CHECKS}\" \
|
||||
|
||||
Reference in New Issue
Block a user