[all-commits] [llvm/llvm-project] 2f353c: [sanitizer_common] Fix Posix/mmap_write_exec.cpp o...

rorth via All-commits all-commits at lists.llvm.org
Fri Oct 29 05:30:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f353c040f328fee0e5582e64cca804d1f083730
      https://github.com/llvm/llvm-project/commit/2f353c040f328fee0e5582e64cca804d1f083730
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h

  Log Message:
  -----------
  [sanitizer_common] Fix Posix/mmap_write_exec.cpp on 32-bit Solaris

The new `Posix/mmap_write_exec.cpp` test FAILs on 32-bit Solaris/x86.  This
happens because only `mmap` is intercepted, but not `mmap64` which is used
for largefile support.

Fixed by also intercepting `mmap64`.

Tested on `amd64-pc-solaris2.11`.

Differential Revision: https://reviews.llvm.org/D112810




More information about the All-commits mailing list