[all-commits] [llvm/llvm-project] e6b3db: scudo: Replace the Cache argument on MapAllocator ...

pcc via All-commits all-commits at lists.llvm.org
Tue Dec 22 16:53:28 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6b3db6309f201075dd97fdfb89297f481bcee6e
      https://github.com/llvm/llvm-project/commit/e6b3db6309f201075dd97fdfb89297f481bcee6e
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2020-12-22 (Tue, 22 Dec 2020)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/secondary.h
    M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp

  Log Message:
  -----------
  scudo: Replace the Cache argument on MapAllocator with a Config argument. NFCI.

This will allow the secondary allocator to access the
MaySupportMemoryTagging bool.

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


  Commit: faac1c02c802048efa17f8f6cda8f39b5584f0c6
      https://github.com/llvm/llvm-project/commit/faac1c02c802048efa17f8f6cda8f39b5584f0c6
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2020-12-22 (Tue, 22 Dec 2020)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/options.h
    M compiler-rt/lib/scudo/standalone/primary32.h
    M compiler-rt/lib/scudo/standalone/primary64.h
    M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp

  Log Message:
  -----------
  scudo: Move the management of the UseMemoryTagging bit out of the Primary. NFCI.

The primary and secondary allocators will need to share this bit,
so move the management of the bit to the combined allocator and
make useMemoryTagging() a free function.

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


Compare: https://github.com/llvm/llvm-project/compare/d15119a02d92...faac1c02c802


More information about the All-commits mailing list