[PATCH] [ASan/Win] Use clang rather than clang-cl by default for lit tests. Make Windows-only tests explicitly use clang-cl.

Timur Iskhodzhanov timurrrr at google.com
Fri May 23 05:53:09 PDT 2014


Hi samsonov,

This patch reverts minor parts of r208802, r208697, r208682.
See D3771 for the background on the change.

Enabling the non-Windows lit test is still a TODO, I have a local patch for that.

http://reviews.llvm.org/D3893

Files:
  CMakeLists.txt
  cmake/Modules/AddCompilerRT.cmake
  cmake/Modules/CompilerRTCompile.cmake
  lib/asan/tests/CMakeLists.txt
  lib/sanitizer_common/tests/CMakeLists.txt
  test/asan/TestCases/Windows/aligned_mallocs.cc
  test/asan/TestCases/Windows/allocators_sanity.cc
  test/asan/TestCases/Windows/beginthreadex.cc
  test/asan/TestCases/Windows/bitfield.cc
  test/asan/TestCases/Windows/bitfield_uaf.cc
  test/asan/TestCases/Windows/calloc_left_oob.cc
  test/asan/TestCases/Windows/calloc_right_oob.cc
  test/asan/TestCases/Windows/calloc_uaf.cc
  test/asan/TestCases/Windows/crt_initializers.cc
  test/asan/TestCases/Windows/dll_aligned_mallocs.cc
  test/asan/TestCases/Windows/dll_allocators_sanity.cc
  test/asan/TestCases/Windows/dll_host.cc
  test/asan/TestCases/Windows/dll_intercept_memcpy.cc
  test/asan/TestCases/Windows/dll_intercept_strlen.cc
  test/asan/TestCases/Windows/dll_malloc_left_oob.cc
  test/asan/TestCases/Windows/dll_malloc_uaf.cc
  test/asan/TestCases/Windows/dll_noreturn.cc
  test/asan/TestCases/Windows/dll_operator_array_new_left_oob.cc
  test/asan/TestCases/Windows/dll_operator_array_new_with_dtor_left_oob.cc
  test/asan/TestCases/Windows/dll_poison_unpoison.cc
  test/asan/TestCases/Windows/dll_stack_use_after_return.cc
  test/asan/TestCases/Windows/dll_thread_stack_array_left_oob.cc
  test/asan/TestCases/Windows/double_free.cc
  test/asan/TestCases/Windows/double_operator_delete.cc
  test/asan/TestCases/Windows/global_const_string.cc
  test/asan/TestCases/Windows/global_const_string_oob.cc
  test/asan/TestCases/Windows/hello_world.cc
  test/asan/TestCases/Windows/intercept_memcpy.cc
  test/asan/TestCases/Windows/intercept_strdup.cc
  test/asan/TestCases/Windows/intercept_strlen.cc
  test/asan/TestCases/Windows/malloc_left_oob.cc
  test/asan/TestCases/Windows/malloc_right_oob.cc
  test/asan/TestCases/Windows/malloc_uaf.cc
  test/asan/TestCases/Windows/operator_array_new_left_oob.cc
  test/asan/TestCases/Windows/operator_array_new_right_oob.cc
  test/asan/TestCases/Windows/operator_array_new_uaf.cc
  test/asan/TestCases/Windows/operator_array_new_with_dtor_left_oob.cc
  test/asan/TestCases/Windows/operator_delete_wrong_argument.cc
  test/asan/TestCases/Windows/operator_new_left_oob.cc
  test/asan/TestCases/Windows/operator_new_right_oob.cc
  test/asan/TestCases/Windows/operator_new_uaf.cc
  test/asan/TestCases/Windows/realloc_left_oob.cc
  test/asan/TestCases/Windows/realloc_right_oob.cc
  test/asan/TestCases/Windows/realloc_uaf.cc
  test/asan/TestCases/Windows/stack_array_left_oob.cc
  test/asan/TestCases/Windows/stack_array_right_oob.cc
  test/asan/TestCases/Windows/stack_array_sanity.cc
  test/asan/TestCases/Windows/stack_use_after_return.cc
  test/asan/TestCases/Windows/thread_simple.cc
  test/asan/TestCases/Windows/thread_stack_array_left_oob.cc
  test/asan/TestCases/Windows/thread_stack_array_right_oob.cc
  test/asan/TestCases/Windows/thread_stack_reuse.cc
  test/asan/TestCases/Windows/thread_stress.cc
  test/asan/TestCases/Windows/use_after_realloc.cc
  test/asan/TestCases/Windows/windows_h.cc
  test/asan/TestCases/Windows/wrong_downcast_on_heap.cc
  test/asan/TestCases/Windows/wrong_downcast_on_stack.cc
  test/asan/lit.cfg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3893.9752.patch
Type: text/x-patch
Size: 33217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140523/4d17b7f8/attachment.bin>


More information about the llvm-commits mailing list