[all-commits] [llvm/llvm-project] cc02d6: scudo-standalone: Add GetRSS method on Linux

Bastian Kersting via All-commits all-commits at lists.llvm.org
Thu Dec 8 13:38:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc02d61b459ff351fc785bd8154fc2e5beb95e92
      https://github.com/llvm/llvm-project/commit/cc02d61b459ff351fc785bd8154fc2e5beb95e92
  Author: Bastian Kersting <bkersting at google.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    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/tests/common_test.cpp

  Log Message:
  -----------
  scudo-standalone: Add GetRSS method on Linux

This change adds a GetRSS method on Linux that parses
the number from /proc/self/statm. This change is part
of splitting up https://reviews.llvm.org/D126752.

Reviewed By: vitalybuka, cryptoad

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




More information about the All-commits mailing list