[asan][test][win] Port trivial tests to not use clang-cl on MinGW
authorAlvin Wong <alvin@alvinhc.com>
Mon, 3 Apr 2023 08:37:31 +0000 (16:37 +0800)
committerAlvin Wong <alvin@alvinhc.com>
Fri, 21 Apr 2023 13:25:49 +0000 (21:25 +0800)
commit3c1aa20c63548c77ddce3dabc7b25c7c7edccaac
tree6f15056092925e1b25ae746a25ba040bc187d30d
parent2b81ec3265bec26f728b1733faff9151dcd496b9
[asan][test][win] Port trivial tests to not use clang-cl on MinGW

Use clang driver on MinGW where clang-cl is not usable. MSVC target
still uses clang-cl to minimize changes to existing test runners.

Differential Revision: https://reviews.llvm.org/D147432
46 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/double_free.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/heapalloc_sanity.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/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/oom.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/shadow_mapping_failure.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/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/use_after_realloc.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