[PATCH] D93730: scudo: Move the management of the UseMemoryTagging bit out of the Primary. NFCI.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 13:49:03 PST 2020


pcc created this revision.
pcc added reviewers: eugenis, hctim, cryptoad.
pcc requested review of this revision.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.

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.

Depends on D93729 <https://reviews.llvm.org/D93729>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93730

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93730.313425.patch
Type: text/x-patch
Size: 9444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201222/a3aca53a/attachment.bin>


More information about the llvm-commits mailing list