[all-commits] [llvm/llvm-project] 99d92d: [scudo] Add specific die functions for linux speci...

Christopher Ferris via All-commits all-commits at lists.llvm.org
Fri Oct 13 12:19:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99d92d18e334d776db4bca7cc45d015e2d14cfe0
      https://github.com/llvm/llvm-project/commit/99d92d18e334d776db4bca7cc45d015e2d14cfe0
  Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
  Date:   2023-10-13 (Fri, 13 Oct 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/common.cpp
    M compiler-rt/lib/scudo/standalone/common.h
    M compiler-rt/lib/scudo/standalone/linux.cpp
    M compiler-rt/lib/scudo/standalone/mem_map_linux.cpp
    M compiler-rt/lib/scudo/standalone/report.cpp
    M compiler-rt/lib/scudo/standalone/report.h
    A compiler-rt/lib/scudo/standalone/report_linux.cpp
    A compiler-rt/lib/scudo/standalone/report_linux.h
    M compiler-rt/lib/scudo/standalone/trusty.cpp

  Log Message:
  -----------
  [scudo] Add specific die functions for linux specific failures. (#68650)

While running into failures on unmap calls, it becomes difficult to
figure out what's wrong. Break the dieOnMapUnmapError into specific
versions for map, unmap, and then one for mprotect.

Also, put these in a common linux space so that all linux derived code
can reuse this code.




More information about the All-commits mailing list