[all-commits] [llvm/llvm-project] b0b490: [compiler-rt] Call __sys_mmap in internal_mmap on ...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Fri Aug 2 14:52:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0b490634000b68293eca4be67b59738766a8632
      https://github.com/llvm/llvm-project/commit/b0b490634000b68293eca4be67b59738766a8632
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

  Log Message:
  -----------
  [compiler-rt] Call __sys_mmap in internal_mmap on FreeBSD

Due to the slightly non-standard interface that returns a pointer
rather than just an integer, the __syscall() utility cannot be used
on all architectures. This change is required for example to use the
sanitizers on Arm Morello.

Pull Request: https://github.com/llvm/llvm-project/pull/84438



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