[all-commits] [llvm/llvm-project] ef8d9d: [compiler-rt] Retain sanitizer callbacks with MinG...

oltolm via All-commits all-commits at lists.llvm.org
Thu Sep 24 14:13:17 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef8d9d19fb232076b7a2070860666a65a2cf563e
      https://github.com/llvm/llvm-project/commit/ef8d9d19fb232076b7a2070860666a65a2cf563e
  Author: oltolm <oleg.tolmatcev at gmail.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M compiler-rt/lib/asan/asan_globals_win.cpp
    M compiler-rt/lib/asan/asan_win.cpp
    M compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
    M compiler-rt/lib/sanitizer_common/sanitizer_win_defs.h
    M compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp

  Log Message:
  -----------
  [compiler-rt] Retain sanitizer callbacks with MinGW GCC (#222711)

MSVC and clang-cl use /include directives emitted by WIN_FORCE_LINK. GNU
tools need an ordinary used relocation instead. Keep the sanitizer
initialization callbacks and ASan DSO registration object reachable when
linking with MinGW GCC.

---------

Co-authored-by: Hannes Domani <ssbssa at yahoo.de>



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