Skip to content

Commit 8cd0e44

Browse files
derekmaurocopybara-github
authored andcommitted
CI: Enable libc++ hardening in the ASAN build for even more checks
https://libcxx.llvm.org/Hardening.html PiperOrigin-RevId: 834818278 Change-Id: I063068001c7726b2d74628a0c85445e567e546c1
1 parent 482a974 commit 8cd0e44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/linux_clang-latest_libcxx_asan_bazel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ for std in ${STD}; do
8181
--action_env=\"CPLUS_INCLUDE_PATH=/opt/llvm/libcxx/include/c++/v1\" \
8282
--compilation_mode=\"${compilation_mode}\" \
8383
--copt=\"${exceptions_mode}\" \
84+
--copt=\"-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG\" \
8485
--copt=\"-DGTEST_REMOVE_LEGACY_TEST_CASEAPI_=1\" \
8586
--copt=\"-fsanitize=address\" \
8687
--copt=\"-fsanitize=${UBSAN_CHECKS}\" \

0 commit comments

Comments
 (0)