[compiler-rt][asan][test] Fix lit test config on MinGW
authorAlvin Wong <alvin@alvinhc.com>
Mon, 27 Mar 2023 14:48:17 +0000 (22:48 +0800)
committerAlvin Wong <alvin@alvinhc.com>
Sat, 1 Apr 2023 17:06:15 +0000 (01:06 +0800)
commitbae2fbaebf2527f1259ac5f5881749d0ce3a8ee7
tree1a7586c6474af7d7ebed0f6877f86e52ac1454e1
parent88e5df0e4392cf25a03fc0ac9aa5b8da60079dac
[compiler-rt][asan][test] Fix lit test config on MinGW

MinGW is GCC-like and does not support clang-cl, so clean up the lit cfg
to reflect that. Also mark all Windows test cases using clang-cl as
UNSUPPORTED for now. We should probably adapt most of these test cases
to use the GCC-like clang driver, but that will be for later.

Differential Revision: https://reviews.llvm.org/D147057
116 files changed:
compiler-rt/test/asan/TestCases/Windows/aligned_mallocs.cpp
compiler-rt/test/asan/TestCases/Windows/allocators_sanity.cpp
compiler-rt/test/asan/TestCases/Windows/beginthreadex.cpp
compiler-rt/test/asan/TestCases/Windows/bitfield.cpp
compiler-rt/test/asan/TestCases/Windows/bitfield_uaf.cpp
compiler-rt/test/asan/TestCases/Windows/breakpoint.cpp
compiler-rt/test/asan/TestCases/Windows/calloc_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/calloc_right_oob.cpp
compiler-rt/test/asan/TestCases/Windows/calloc_uaf.cpp
compiler-rt/test/asan/TestCases/Windows/coverage-dll-stdio.cpp
compiler-rt/test/asan/TestCases/Windows/crt_initializers.cpp
compiler-rt/test/asan/TestCases/Windows/delay_dbghelp.cpp
compiler-rt/test/asan/TestCases/Windows/demangled_names.cpp
compiler-rt/test/asan/TestCases/Windows/dll_aligned_mallocs.cpp
compiler-rt/test/asan/TestCases/Windows/dll_allocators_sanity.cpp
compiler-rt/test/asan/TestCases/Windows/dll_and_lib.cpp
compiler-rt/test/asan/TestCases/Windows/dll_cerr.cpp
compiler-rt/test/asan/TestCases/Windows/dll_control_c.cpp
compiler-rt/test/asan/TestCases/Windows/dll_global_dead_strip.c
compiler-rt/test/asan/TestCases/Windows/dll_heap_allocation.cpp
compiler-rt/test/asan/TestCases/Windows/dll_host.cpp
compiler-rt/test/asan/TestCases/Windows/dll_intercept_memchr.cpp
compiler-rt/test/asan/TestCases/Windows/dll_intercept_memcpy.cpp
compiler-rt/test/asan/TestCases/Windows/dll_intercept_memcpy_indirect.cpp
compiler-rt/test/asan/TestCases/Windows/dll_intercept_memset.cpp
compiler-rt/test/asan/TestCases/Windows/dll_intercept_strlen.cpp
compiler-rt/test/asan/TestCases/Windows/dll_large_function.cpp
compiler-rt/test/asan/TestCases/Windows/dll_malloc_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/dll_malloc_uaf.cpp
compiler-rt/test/asan/TestCases/Windows/dll_noreturn.cpp
compiler-rt/test/asan/TestCases/Windows/dll_null_deref.cpp
compiler-rt/test/asan/TestCases/Windows/dll_operator_array_new_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/dll_operator_array_new_with_dtor_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/dll_poison_unpoison.cpp
compiler-rt/test/asan/TestCases/Windows/dll_report_globals_symbolization_at_startup.cpp
compiler-rt/test/asan/TestCases/Windows/dll_seh.cpp
compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cpp
compiler-rt/test/asan/TestCases/Windows/dll_thread_stack_array_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/dll_unload.cpp
compiler-rt/test/asan/TestCases/Windows/double_free.cpp
compiler-rt/test/asan/TestCases/Windows/double_operator_delete.cpp
compiler-rt/test/asan/TestCases/Windows/global_const_string.cpp
compiler-rt/test/asan/TestCases/Windows/global_const_string_oob.cpp
compiler-rt/test/asan/TestCases/Windows/global_dead_strip.c
compiler-rt/test/asan/TestCases/Windows/heapalloc.cpp
compiler-rt/test/asan/TestCases/Windows/heapalloc_dll_double_free.cpp
compiler-rt/test/asan/TestCases/Windows/heapalloc_dll_unload_realloc_uaf.cpp
compiler-rt/test/asan/TestCases/Windows/heapalloc_doublefree.cpp
compiler-rt/test/asan/TestCases/Windows/heapalloc_flags_fallback.cpp
compiler-rt/test/asan/TestCases/Windows/heapalloc_huge.cpp
compiler-rt/test/asan/TestCases/Windows/heapalloc_rtl_transfer.cpp
compiler-rt/test/asan/TestCases/Windows/heapalloc_sanity.cpp
compiler-rt/test/asan/TestCases/Windows/heapalloc_transfer.cpp
compiler-rt/test/asan/TestCases/Windows/heapalloc_uaf.cpp
compiler-rt/test/asan/TestCases/Windows/heapalloc_zero_size.cpp
compiler-rt/test/asan/TestCases/Windows/heaprealloc.cpp
compiler-rt/test/asan/TestCases/Windows/heaprealloc_alloc_zero.cpp
compiler-rt/test/asan/TestCases/Windows/heaprealloc_zero_size.cpp
compiler-rt/test/asan/TestCases/Windows/hello_world.cpp
compiler-rt/test/asan/TestCases/Windows/illegal_instruction.cpp
compiler-rt/test/asan/TestCases/Windows/integer_divide_by_zero.cpp
compiler-rt/test/asan/TestCases/Windows/intercept_memcpy.cpp
compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cpp
compiler-rt/test/asan/TestCases/Windows/intercept_strlen.cpp
compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
compiler-rt/test/asan/TestCases/Windows/iostream_sbo.cpp
compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
compiler-rt/test/asan/TestCases/Windows/null_deref_multiple_dlls.cpp
compiler-rt/test/asan/TestCases/Windows/oom.cpp
compiler-rt/test/asan/TestCases/Windows/operator_array_new_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/operator_array_new_right_oob.cpp
compiler-rt/test/asan/TestCases/Windows/operator_array_new_uaf.cpp
compiler-rt/test/asan/TestCases/Windows/operator_array_new_with_dtor_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/operator_delete_wrong_argument.cpp
compiler-rt/test/asan/TestCases/Windows/operator_new_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/operator_new_right_oob.cpp
compiler-rt/test/asan/TestCases/Windows/operator_new_uaf.cpp
compiler-rt/test/asan/TestCases/Windows/queue_user_work_item_report.cpp
compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
compiler-rt/test/asan/TestCases/Windows/recalloc_sanity.cpp
compiler-rt/test/asan/TestCases/Windows/report_globals_reload_dll.cpp
compiler-rt/test/asan/TestCases/Windows/report_globals_vs_freelibrary.cpp
compiler-rt/test/asan/TestCases/Windows/rtlallocateheap.cpp
compiler-rt/test/asan/TestCases/Windows/rtlallocateheap_dll_unload_double_free.cpp
compiler-rt/test/asan/TestCases/Windows/rtlallocateheap_dll_unload_realloc.cpp
compiler-rt/test/asan/TestCases/Windows/rtlallocateheap_flags_fallback.cpp
compiler-rt/test/asan/TestCases/Windows/rtlallocateheap_zero.cpp
compiler-rt/test/asan/TestCases/Windows/sanitizer_purge.cpp
compiler-rt/test/asan/TestCases/Windows/seh.cpp
compiler-rt/test/asan/TestCases/Windows/shadow_conflict_32.cpp
compiler-rt/test/asan/TestCases/Windows/shadow_mapping_failure.cpp
compiler-rt/test/asan/TestCases/Windows/sse_misalignment.cpp
compiler-rt/test/asan/TestCases/Windows/stack_array_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/stack_array_right_oob.cpp
compiler-rt/test/asan/TestCases/Windows/stack_array_sanity.cpp
compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cpp
compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
compiler-rt/test/asan/TestCases/Windows/thread_simple.cpp
compiler-rt/test/asan/TestCases/Windows/thread_stack_array_left_oob.cpp
compiler-rt/test/asan/TestCases/Windows/thread_stack_array_right_oob.cpp
compiler-rt/test/asan/TestCases/Windows/thread_stack_reuse.cpp
compiler-rt/test/asan/TestCases/Windows/thread_stress.cpp
compiler-rt/test/asan/TestCases/Windows/thread_suspended.cpp
compiler-rt/test/asan/TestCases/Windows/tls_init.cpp
compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
compiler-rt/test/asan/TestCases/Windows/use_after_return_linkage.cpp
compiler-rt/test/asan/TestCases/Windows/user-exception.cpp
compiler-rt/test/asan/TestCases/Windows/windows_h.cpp
compiler-rt/test/asan/TestCases/Windows/wrong_downcast_on_heap.cpp
compiler-rt/test/asan/TestCases/Windows/wrong_downcast_on_stack.cpp
compiler-rt/test/asan/lit.cfg.py
compiler-rt/test/lit.common.cfg.py