[all-commits] [llvm/llvm-project] 3c1aa2: [asan][test][win] Port trivial tests to not use cl...

alvinhochun via All-commits all-commits at lists.llvm.org
Fri Apr 21 06:27:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c1aa20c63548c77ddce3dabc7b25c7c7edccaac
      https://github.com/llvm/llvm-project/commit/3c1aa20c63548c77ddce3dabc7b25c7c7edccaac
  Author: Alvin Wong <alvin at alvinhc.com>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Windows/aligned_mallocs.cpp
    M compiler-rt/test/asan/TestCases/Windows/allocators_sanity.cpp
    M compiler-rt/test/asan/TestCases/Windows/beginthreadex.cpp
    M compiler-rt/test/asan/TestCases/Windows/bitfield.cpp
    M compiler-rt/test/asan/TestCases/Windows/bitfield_uaf.cpp
    M compiler-rt/test/asan/TestCases/Windows/breakpoint.cpp
    M compiler-rt/test/asan/TestCases/Windows/calloc_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/calloc_right_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/calloc_uaf.cpp
    M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
    M compiler-rt/test/asan/TestCases/Windows/global_const_string.cpp
    M compiler-rt/test/asan/TestCases/Windows/global_const_string_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/heapalloc_sanity.cpp
    M compiler-rt/test/asan/TestCases/Windows/hello_world.cpp
    M compiler-rt/test/asan/TestCases/Windows/illegal_instruction.cpp
    M compiler-rt/test/asan/TestCases/Windows/integer_divide_by_zero.cpp
    M compiler-rt/test/asan/TestCases/Windows/intercept_memcpy.cpp
    M compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cpp
    M compiler-rt/test/asan/TestCases/Windows/intercept_strlen.cpp
    M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
    M compiler-rt/test/asan/TestCases/Windows/oom.cpp
    M compiler-rt/test/asan/TestCases/Windows/operator_delete_wrong_argument.cpp
    M compiler-rt/test/asan/TestCases/Windows/operator_new_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/operator_new_right_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/operator_new_uaf.cpp
    M compiler-rt/test/asan/TestCases/Windows/queue_user_work_item_report.cpp
    M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
    M compiler-rt/test/asan/TestCases/Windows/shadow_mapping_failure.cpp
    M compiler-rt/test/asan/TestCases/Windows/stack_array_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/stack_array_right_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/stack_array_sanity.cpp
    M compiler-rt/test/asan/TestCases/Windows/thread_simple.cpp
    M compiler-rt/test/asan/TestCases/Windows/thread_stack_array_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/thread_stack_array_right_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/thread_stack_reuse.cpp
    M compiler-rt/test/asan/TestCases/Windows/thread_stress.cpp
    M compiler-rt/test/asan/TestCases/Windows/thread_suspended.cpp
    M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
    M compiler-rt/test/asan/TestCases/Windows/windows_h.cpp
    M compiler-rt/test/asan/TestCases/Windows/wrong_downcast_on_heap.cpp
    M compiler-rt/test/asan/TestCases/Windows/wrong_downcast_on_stack.cpp
    M compiler-rt/test/asan/lit.cfg.py

  Log Message:
  -----------
  [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


  Commit: b5e3d131f9ed6687cacffb67de8f54214dd8d2b3
      https://github.com/llvm/llvm-project/commit/b5e3d131f9ed6687cacffb67de8f54214dd8d2b3
  Author: Alvin Wong <alvin at alvinhc.com>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Windows/crt_initializers.cpp
    M compiler-rt/test/asan/TestCases/Windows/demangled_names.cpp
    M compiler-rt/test/asan/TestCases/Windows/double_operator_delete.cpp
    M compiler-rt/test/asan/TestCases/Windows/operator_array_new_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/operator_array_new_right_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/operator_array_new_uaf.cpp
    M compiler-rt/test/asan/TestCases/Windows/operator_array_new_with_dtor_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/sse_misalignment.cpp

  Log Message:
  -----------
  [asan][test][win] Port more tests to not use clang-cl on MinGW

Depends on D147432

Differential Revision: https://reviews.llvm.org/D147444


Compare: https://github.com/llvm/llvm-project/compare/2b81ec3265be...b5e3d131f9ed


More information about the All-commits mailing list