[all-commits] [llvm/llvm-project] 81f7b9: [sanitizer] Print errno for report file open failure
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Thu Oct 29 08:48:03 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 81f7b96ed0a2295e0b82ca185019370ac8e1895e
https://github.com/llvm/llvm-project/commit/81f7b96ed0a2295e0b82ca185019370ac8e1895e
Author: Teresa Johnson <tejohnson at google.com>
Date: 2020-10-29 (Thu, 29 Oct 2020)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_file.cpp
M compiler-rt/test/memprof/TestCases/log_path_test.cpp
Log Message:
-----------
[sanitizer] Print errno for report file open failure
To help debug failures, specifically the llvm-avr-linux bot failure from
5c20d7db9f2791367b9311130eb44afecb16829c:
http://lab.llvm.org:8011/#/builders/112/builds/407/steps/5/logs/FAIL__MemProfiler-x86_64-linux-dynamic__log_path_t
Also re-enable the failing test which I temporarily disabled, to
see if this change will help identify why that particular log file can't
be opened for write on that bot (when another log file in the same
directory could earlier in the test).
Differential Revision: https://reviews.llvm.org/D90120
More information about the All-commits
mailing list