[libcxx-commits] [libcxx] [libc++][hardening] Introduce a dylib function to log hardening errors. (PR #148266)

Konstantin Varlamov via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jul 13 14:59:55 PDT 2025


================
@@ -535,6 +535,7 @@ set(files
   __locale_dir/time.h
   __locale_dir/wbuffer_convert.h
   __locale_dir/wstring_convert.h
+  __log_error
----------------
var-const wrote:

If we keep the current approach where the logging function is more generic and not exclusively for hardening, then IMO it shouldn't be in `__hardening_utils`; although perhaps something more generic like `__error_handling_utils` might make sense -- WDYT?

https://github.com/llvm/llvm-project/pull/148266


More information about the libcxx-commits mailing list