[compiler-rt] [compiler-rt][sanitizer-common] Use os_log for DriverKit as os_log_error is undefined (PR #148848)

Dan Blackwell via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 31 01:48:03 PDT 2025


================
@@ -837,22 +843,22 @@ void LogMessageOnPrintf(const char *str) {
 
 void LogFullErrorReport(const char *buffer) {
 #  if !SANITIZER_GO
-  // Log with os_log_error. This will make it into the crash log.
+  // Log with os_log.*. This will make it into the crash log.
----------------
DanBlackwell wrote:

I've updated this to say `// When logging with os_log_error this will make it into the crash log.`, being as DriverKit doesn't call `os_log_error`.

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


More information about the llvm-commits mailing list