[PATCH] D100911: scudo: Make prepareTaggedChunk() and resizeTaggedChunk() generic.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 20 16:27:26 PDT 2021
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.
Now that we have a more efficient implementation of storeTags(),
we should start using it from resizeTaggedChunk(). With that, plus
a new storeTag() function, resizeTaggedChunk() can be made generic,
and so can prepareTaggedChunk(). Make it so.
Now that the functions are generic, move them to combined.h so that
memtag.h no longer needs to know about chunks.
Depends on D100910 <https://reviews.llvm.org/D100910>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100911
Files:
compiler-rt/lib/scudo/standalone/combined.h
compiler-rt/lib/scudo/standalone/memtag.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100911.339038.patch
Type: text/x-patch
Size: 6565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210420/37f9b026/attachment.bin>
More information about the llvm-commits
mailing list