llvm/compiler-rt/test/memprof
Teresa Johnson 634da7a1c6 [sanitizer] Check if directory exists before trying to create
Add a DirExists mechanism, modeled after FileExists. Use it to guard
creation of the report path directory.

This should avoid failures running the sanitizer in a sandbox where the
file creation attempt causes hard failures, even for an existing
directory. Problem reported on D109794 for ChromeOS in sandbox
(https://issuetracker.google.com/209296420).

Differential Revision: https://reviews.llvm.org/D119495
2022-02-13 06:59:32 -08:00
..
TestCases [sanitizer] Check if directory exists before trying to create 2022-02-13 06:59:32 -08:00
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in