[all-commits] [llvm/llvm-project] 73114e: [compiler-rt][windows] Test fixups for MSVC. (#109...

Charlie Barto via All-commits all-commits at lists.llvm.org
Mon Feb 10 10:51:31 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73114e43eea0a6f0d70272dc203bc520da1c4f6b
      https://github.com/llvm/llvm-project/commit/73114e43eea0a6f0d70272dc203bc520da1c4f6b
  Author: Charlie Barto <chbarto at microsoft.com>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Windows/coverage-basic.cpp
    M compiler-rt/test/asan/TestCases/Windows/crash_read_write.cpp
    M compiler-rt/test/asan/TestCases/Windows/dll_host.cpp
    M compiler-rt/test/asan/TestCases/Windows/dll_intercept_memcpy.cpp
    M compiler-rt/test/asan/TestCases/Windows/dll_intercept_memset.cpp
    M compiler-rt/test/asan/TestCases/Windows/dll_null_deref.cpp
    M compiler-rt/test/asan/TestCases/Windows/dll_operator_array_new_with_dtor_left_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cpp
    M compiler-rt/test/asan/TestCases/Windows/global_const_string_oob.cpp
    M compiler-rt/test/asan/TestCases/Windows/illegal_instruction.cpp
    M compiler-rt/test/asan/TestCases/Windows/issue64990.cpp
    M compiler-rt/test/asan/TestCases/Windows/msvc/seh.cpp
    R compiler-rt/test/asan/TestCases/Windows/null_deref.cpp
    M compiler-rt/test/asan/TestCases/Windows/null_deref_multiple_dlls.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
    M compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cpp
    M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
    M compiler-rt/test/asan/TestCases/alloca_big_alignment.cpp
    M compiler-rt/test/asan/TestCases/alloca_constant_size.cpp
    M compiler-rt/test/asan/TestCases/alloca_detect_custom_size_.cpp
    M compiler-rt/test/asan/TestCases/alloca_instruments_all_paddings.cpp
    M compiler-rt/test/asan/TestCases/alloca_loop_unpoisoning.cpp
    M compiler-rt/test/asan/TestCases/alloca_overflow_partial.cpp
    M compiler-rt/test/asan/TestCases/alloca_overflow_right.cpp
    M compiler-rt/test/asan/TestCases/alloca_safe_access.cpp
    M compiler-rt/test/asan/TestCases/alloca_underflow_left.cpp
    M compiler-rt/test/asan/TestCases/alloca_vla_interact.cpp
    M compiler-rt/test/asan/TestCases/contiguous_container.cpp
    M compiler-rt/test/asan/TestCases/coverage-trace-pc.cpp
    M compiler-rt/test/asan/TestCases/debug_locate.cpp
    M compiler-rt/test/asan/TestCases/debug_stacks.cpp
    M compiler-rt/test/asan/TestCases/deep_tail_call.cpp
    M compiler-rt/test/asan/TestCases/default_ignorelist.cpp
    M compiler-rt/test/asan/TestCases/default_options.cpp
    A compiler-rt/test/asan/TestCases/defines.h
    M compiler-rt/test/asan/TestCases/error_report_callback.cpp
    M compiler-rt/test/asan/TestCases/exitcode.cpp
    M compiler-rt/test/asan/TestCases/force_inline_opt0.cpp
    M compiler-rt/test/asan/TestCases/global-location-nodebug.cpp
    M compiler-rt/test/asan/TestCases/global-underflow.cpp
    M compiler-rt/test/asan/TestCases/halt_on_error-1.c
    M compiler-rt/test/asan/TestCases/heavy_uar_test.cpp
    M compiler-rt/test/asan/TestCases/ignorelist.cpp
    M compiler-rt/test/asan/TestCases/ill.cpp
    M compiler-rt/test/asan/TestCases/initialization-bug.cpp
    M compiler-rt/test/asan/TestCases/inline.cpp
    M compiler-rt/test/asan/TestCases/intercept-rethrow-exception.cpp
    M compiler-rt/test/asan/TestCases/interception_failure_test.cpp
    M compiler-rt/test/asan/TestCases/interface_test.cpp
    M compiler-rt/test/asan/TestCases/invalid-pointer-pairs-compare-errors.cpp
    M compiler-rt/test/asan/TestCases/invalid-pointer-pairs-subtract-errors.cpp
    M compiler-rt/test/asan/TestCases/invalid-pointer-pairs.cpp
    M compiler-rt/test/asan/TestCases/large_func_test.cpp
    M compiler-rt/test/asan/TestCases/null_deref.cpp
    M compiler-rt/test/asan/TestCases/pass-struct-byval.cpp
    M compiler-rt/test/asan/TestCases/report_error_summary.cpp
    M compiler-rt/test/asan/TestCases/speculative_load.cpp
    M compiler-rt/test/asan/TestCases/stack-buffer-overflow-with-position.cpp
    M compiler-rt/test/asan/TestCases/stack-oob-frames.cpp
    M compiler-rt/test/asan/TestCases/strcat-overlap.cpp
    M compiler-rt/test/asan/TestCases/strcpy-overlap.cpp
    M compiler-rt/test/asan/TestCases/strncat-overlap.cpp
    M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
    M compiler-rt/test/asan/TestCases/strncpy-overlap.cpp
    M compiler-rt/test/asan/TestCases/throw_call_test.cpp
    M compiler-rt/test/asan/TestCases/throw_catch.cpp
    M compiler-rt/test/asan/TestCases/throw_invoke_test.cpp
    M compiler-rt/test/asan/TestCases/use-after-scope-capture.cpp
    M compiler-rt/test/asan/TestCases/use-after-scope-dtor-order.cpp
    M compiler-rt/test/asan/TestCases/use-after-scope-inlined.cpp
    M compiler-rt/test/asan/TestCases/use-after-scope-loop-bug.cpp
    M compiler-rt/test/asan/TestCases/use-after-scope-loop-removed.cpp
    M compiler-rt/test/asan/TestCases/use-after-scope-loop.cpp
    M compiler-rt/test/asan/TestCases/use-after-scope-temp.cpp
    M compiler-rt/test/asan/TestCases/use-after-scope-temp2.cpp
    M compiler-rt/test/asan/TestCases/use-after-scope-types.cpp
    M compiler-rt/test/asan/TestCases/vla_chrome_testcase.cpp
    M compiler-rt/test/asan/TestCases/vla_condition_overflow.cpp
    M compiler-rt/test/asan/TestCases/vla_loop_overfow.cpp
    M compiler-rt/test/asan/TestCases/zero_page_pc.cpp
    M compiler-rt/test/asan/lit.cfg.py

  Log Message:
  -----------
  [compiler-rt][windows] Test fixups for MSVC. (#109887)

- add XFAIL/UNSUPPORTED annotations for tests run wtih real MSVC 
- macroify usages of clang-specific attributes in asan tests

- Add substitution for /Oy-/-fno-omit-frame-pointer
  This makes the dll_intercept_memset test work with mingw

These are most of the changes that are required to get things running
with MSVC, however there are some remaining build-flag tweaks.

Nothing in here should be a functional change.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list