[libcxx-commits] [PATCH] D115367: [NFC][libcxxabi] Pulled guard byte code out of GuardObject

Daniel McIntosh via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 8 11:30:18 PST 2021


DanielMcIntosh-IBM created this revision.
DanielMcIntosh-IBM added reviewers: ldionne, EricWF, nicholas, jroelofs.
DanielMcIntosh-IBM requested review of this revision.
Herald added a project: libc++abi.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++abi.

Right now, GuardObject is in charge of both reading and writing to the guard
byte, and co-ordinating with the InitByte... classes. In order to improve
separation of concerns, create a separate class responsible for managing the
guard byte and use that inside GuardObject.

This is the 3rd of 5 changes to overhaul cxa_guard.
See D108343 <https://reviews.llvm.org/D108343> for what the final result will be and more details on why
cxa_guard is getting overhauled.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115367

Files:
  libcxxabi/src/cxa_guard_impl.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115367.392846.patch
Type: text/x-patch
Size: 5305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211208/1684ea8b/attachment-0001.bin>


More information about the libcxx-commits mailing list