[all-commits] [llvm/llvm-project] f5fffb: [scudo] Implement and enable MemMapLinux

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Mon Aug 7 09:03:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5fffbe2a587a8ac39b98448a9fb3b552543464f
      https://github.com/llvm/llvm-project/commit/f5fffbe2a587a8ac39b98448a9fb3b552543464f
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/linux.cpp
    M compiler-rt/lib/scudo/standalone/mem_map.h
    A compiler-rt/lib/scudo/standalone/mem_map_linux.cpp
    A compiler-rt/lib/scudo/standalone/mem_map_linux.h

  Log Message:
  -----------
  [scudo] Implement and enable MemMapLinux

Most of the implementations are copied from linux.cpp and we will be
keeping those memory functions in linux.cpp for a while until we are
able to switch to use MemMap completely.

The remaining part is SizeClassAllocator32 which hasn't been switched to
use MemMap interface

Reviewed By: cferris

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




More information about the All-commits mailing list