[all-commits] [llvm/llvm-project] bd05ca: [compiler-rt] Support GNU section attributes on Wi...

oltolm via All-commits all-commits at lists.llvm.org
Thu Sep 10 10:25:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd05ca8ca6da9a275234c59fcb1886505a5958e0
      https://github.com/llvm/llvm-project/commit/bd05ca8ca6da9a275234c59fcb1886505a5958e0
  Author: oltolm <oleg.tolmatcev at gmail.com>
  Date:   2026-09-10 (Thu, 10 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.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_win_defs.h

  Log Message:
  -----------
  [compiler-rt] Support GNU section attributes on Windows (#222707)

MSVC and Clang place sanitizer sentinels and CRT callbacks with
__declspec(allocate) after declaring their sections with #pragma
section. MinGW GCC uses the section attribute instead, so select the
appropriate spelling for each compiler.

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