[all-commits] [llvm/llvm-project] e37ca0: [compiler-rt] Add MSVC CRT flags to ASan coverage ...

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Mon May 4 19:42:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e37ca02de89706cd05e77cba9bd7125f6839a722
      https://github.com/llvm/llvm-project/commit/e37ca02de89706cd05e77cba9bd7125f6839a722
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

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

  Log Message:
  -----------
  [compiler-rt] Add MSVC CRT flags to ASan coverage test (#195719)

The ASan coverage test also links clang_rt.profile because it uses
-coverage. On Windows MSVC, this can fail if the test is linked with the
static CRT but clang_rt.profile was built with the dynamic CRT.

For example, a profile runtime that uses /MD may reference DLL CRT
symbols
such as __imp_* symbols. Add the same dynamic CRT flags directly to this
one test on Windows MSVC so it keeps linking when clang_rt.profile
changes.



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