[all-commits] [llvm/llvm-project] b79908: [ASan][Windows] Add __cdecl to public sanitizer fu...

nicole mazzuca via All-commits all-commits at lists.llvm.org
Tue Oct 31 12:59:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b799080f19c2c1a23d096289e6e03cdbd8b44895
      https://github.com/llvm/llvm-project/commit/b799080f19c2c1a23d096289e6e03cdbd8b44895
  Author: nicole mazzuca <nicole at strega-nil.co>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

  Changed paths:
    M compiler-rt/include/sanitizer/allocator_interface.h
    M compiler-rt/include/sanitizer/asan_interface.h
    M compiler-rt/include/sanitizer/common_interface_defs.h
    M compiler-rt/include/sanitizer/coverage_interface.h
    M compiler-rt/include/sanitizer/dfsan_interface.h
    M compiler-rt/include/sanitizer/hwasan_interface.h
    M compiler-rt/include/sanitizer/lsan_interface.h
    M compiler-rt/include/sanitizer/memprof_interface.h
    M compiler-rt/include/sanitizer/msan_interface.h
    M compiler-rt/include/sanitizer/scudo_interface.h
    M compiler-rt/include/sanitizer/tsan_interface.h
    M compiler-rt/include/sanitizer/tsan_interface_atomic.h
    M compiler-rt/include/sanitizer/ubsan_interface.h

  Log Message:
  -----------
  [ASan][Windows] Add __cdecl to public sanitizer functions (#69625)

This is necessary for many projects which pass `/Gz` to their compiles,
which makes their default calling convention `__stdcall`.

(personal note, I _really_ wish there was a pragma for this)




More information about the All-commits mailing list