diff options
| author | Teresa Johnson <tejohnson@google.com> | 2022-02-10 15:42:38 -0800 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2022-02-13 06:59:32 -0800 |
| commit | 634da7a1c61ee8c173e90a841eb1f4ea03caa20b (patch) | |
| tree | 0fac9e32f4f33f4923424c3092a21f17ce5b232d /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | 0e4ecfaf5a29ca146cbcc08ed38e7b7565d4580f (diff) | |
[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
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
