[all-commits] [llvm/llvm-project] 4c6b8b: [scudo] seperate cache retrieval logic

ChiaHungDuan via All-commits all-commits at lists.llvm.org
Tue Jul 25 12:28:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c6b8bb87b3452d0bcef83cd0ea712d8426603b8
      https://github.com/llvm/llvm-project/commit/4c6b8bb87b3452d0bcef83cd0ea712d8426603b8
  Author: Fernando <fernandosalas at google.com>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/secondary.h

  Log Message:
  -----------
  [scudo] seperate cache retrieval logic

Split cache::retrieve() into separate functions. One that retrieves
the cached block and another that sets the header and MTE environment.
These were split so that the retrieve function could be more easily
changed in the future and so that the retrieve function had the sole
purpose of retrieving a CachedBlock.

Reviewed By: cferris

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


  Commit: a0b9f1f84b33b9546795697b1fbce2951acdc81a
      https://github.com/llvm/llvm-project/commit/a0b9f1f84b33b9546795697b1fbce2951acdc81a
  Author: Fernando <fernandosalas at google.com>
  Date:   2023-07-25 (Tue, 25 Jul 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/secondary.h

  Log Message:
  -----------
  [scudo] set/check invalid cache entries

made checking for invalid cache entries and setting invalid cache
entries more implicit and clear.

Reviewed By: cferris

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


Compare: https://github.com/llvm/llvm-project/compare/7a4968b5a378...a0b9f1f84b33


More information about the All-commits mailing list