[all-commits] [llvm/llvm-project] 56dec4: [Sanitizer] Allow setting the report path to creat...
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Tue Sep 21 16:43:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 56dec4be9bd321a8fc0f19df00a8d63fc44813f5
https://github.com/llvm/llvm-project/commit/56dec4be9bd321a8fc0f19df00a8d63fc44813f5
Author: Teresa Johnson <tejohnson at google.com>
Date: 2021-09-21 (Tue, 21 Sep 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cpp
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_posix_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
M compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cpp
M compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_test.cpp
Log Message:
-----------
[Sanitizer] Allow setting the report path to create directory
When setting the report path, recursively create the directory as
needed. This brings the profile path support for memprof on par with
normal PGO. The code was largely cloned from __llvm_profile_recursive_mkdir
in compiler-rt/lib/profile/InstrProfilingUtil.c.
Differential Revision: https://reviews.llvm.org/D109794
More information about the All-commits
mailing list