File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -681,6 +681,10 @@ _LIBCPP_PUSH_MACROS
681681// Since std::string is partially instantiated in the built library, we require that the library
682682// has been built with ASAN support in order to enable the container checks in std::string.
683683//
684+ // This also means that if the built library has been compiled with sanitizer checks enabled
685+ // and the user requests for the container checks to be disabled, that request will not be
686+ // honored.
687+ //
684688// The _LIBCPP_STRING_INTERNAL_MEMORY_ACCESS macro disables AddressSanitizer (ASan) instrumentation
685689// for a specific function, allowing memory accesses that would normally trigger ASan errors to proceed
686690// without crashing. This is useful for accessing parts of objects memory, which should not be accessed,
You can’t perform that action at this time.
0 commit comments