llvm-project/compiler-rt/test/memprof/TestCases
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
..
atexit_stats.cpp [memprof] Make the raw binary format the default. 2021-11-11 11:29:36 -08:00
default_options.cpp
dump_process_map.cpp [memprof] Make the raw binary format the default. 2021-11-11 11:29:36 -08:00
free_hook_realloc.cpp
interface_test.cpp [NFC] Update the test compiler to use clangxx. 2021-11-08 13:57:32 -08:00
log_path_test.cpp [sanitizer] Check if directory exists before trying to create 2022-02-13 06:59:32 -08:00
malloc-size-too-big.cpp [memprof] Make the raw binary format the default. 2021-11-11 11:29:36 -08:00
malloc_hook.cpp
memprof_merge_mib.cpp [memprof] Make the raw binary format the default. 2021-11-11 11:29:36 -08:00
memprof_options-help.cpp
memprof_profile_dump.cpp [memprof] Remove the "Live on exit:" print for text format. 2021-11-22 13:30:48 -08:00
realloc.cpp
stress_dtls.c [memprof] Make the raw binary format the default. 2021-11-11 11:29:36 -08:00
test_malloc_load_store.c [memprof] Make the raw binary format the default. 2021-11-11 11:29:36 -08:00
test_memintrin.cpp [memprof] Make the raw binary format the default. 2021-11-11 11:29:36 -08:00
test_new_load_store.cpp [memprof][NFC] Fix mismatched-new-delete in memprof tests 2021-12-20 18:43:21 -08:00
test_terse.cpp [memprof][NFC] Fix mismatched-new-delete in memprof tests 2021-12-20 18:43:21 -08:00
unaligned_loads_and_stores.cpp [memprof] Make the raw binary format the default. 2021-11-11 11:29:36 -08:00