[all-commits] [llvm/llvm-project] 7bd75b: scudo: Add an API for disabling memory initializat...

pcc via All-commits all-commits at lists.llvm.org
Fri Sep 18 12:12:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7bd75b630144ec639dbbf7bcb2797f48380b953b
      https://github.com/llvm/llvm-project/commit/7bd75b630144ec639dbbf7bcb2797f48380b953b
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/chunk.h
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/common.h
    M compiler-rt/lib/scudo/standalone/include/scudo/interface.h
    M compiler-rt/lib/scudo/standalone/tests/chunk_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
    M compiler-rt/lib/scudo/standalone/tsd_exclusive.h
    M compiler-rt/lib/scudo/standalone/tsd_shared.h
    M compiler-rt/lib/scudo/standalone/wrappers_c.inc

  Log Message:
  -----------
  scudo: Add an API for disabling memory initialization per-thread.

Here "memory initialization" refers to zero- or pattern-init on
non-MTE hardware, or (where possible to avoid) memory tagging on MTE
hardware. With shared TSD the per-thread memory initialization state
is stored in bit 0 of the TLS slot, similar to PointerIntPair in LLVM.

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




More information about the All-commits mailing list