[all-commits] [llvm/llvm-project] 5d4f64: [asan] Fix Darwin runtimes compilation

Shoaib Meenai via All-commits all-commits at lists.llvm.org
Sat Apr 1 02:24:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d4f644b33006fe4e97239cc04e2a010239981e6
      https://github.com/llvm/llvm-project/commit/5d4f644b33006fe4e97239cc04e2a010239981e6
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2023-04-01 (Sat, 01 Apr 2023)

  Changed paths:
    M compiler-rt/lib/asan/asan_memory_profile.cpp

  Log Message:
  -----------
  [asan] Fix Darwin runtimes compilation

It was failing because of size_t being unknown. I was going to just pull
in stddef.h, but the callback using size_t is only used for Linux and
NetBSD, so limit its definition to those platforms as well.




More information about the All-commits mailing list