[all-commits] [llvm/llvm-project] 1d4832: [ASan] [Windows] Fix a new test in mingw mode

Martin Storsjö via All-commits all-commits at lists.llvm.org
Sat Feb 14 13:31:29 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d48322502a0b6ef6e0843adb8023106a4e27840
      https://github.com/llvm/llvm-project/commit/1d48322502a0b6ef6e0843adb8023106a4e27840
  Author: Martin Storsjö <martin at martin.st>
  Date:   2026-02-14 (Sat, 14 Feb 2026)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Windows/rtlsizeheap_zero.cpp

  Log Message:
  -----------
  [ASan] [Windows] Fix a new test in mingw mode

The new test case added in 781719778003ca298ca57e486ab629b7f384844b
didn't work in mingw mode; defines set through `/D` only works when
using the clang-cl compiler driver, not the regular clang compiler
driver.

Switch this to use `-D`, which works with both plain clang and
clang-cl, so we don't need to use a lit macro for expanding
the right option to use.



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