[all-commits] [llvm/llvm-project] 884311: [Sanitizer] Option to fallback to stderr if unable...
Ellis Hoag via All-commits
all-commits at lists.llvm.org
Mon Sep 22 11:20:23 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8843111d381bc9bd0895dc11a9b221bb41af7306
https://github.com/llvm/llvm-project/commit/8843111d381bc9bd0895dc11a9b221bb41af7306
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2025-09-22 (Mon, 22 Sep 2025)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_file.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_file.h
M compiler-rt/lib/sanitizer_common/sanitizer_flags.inc
M compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_fail.cpp
Log Message:
-----------
[Sanitizer] Option to fallback to stderr if unable to open logfile (#158687)
Add the santizier option `log_fallback_to_stderr` which will set the
logpath to `stderr` if there is an error with the provided logpath.
We've seen this happen when process A has write permission to the
logpath, but process B does not. In this case, we'd like process B to
fallback to writing to `stderr`, rather than being killed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list