[libcxx-commits] [PATCH] D110341: [NFC][libcxxabi] In cxa_guard, switch away from an inheritance based design

Daniel McIntosh via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 23 09:31:10 PDT 2021


DanielMcIntosh-IBM created this revision.
DanielMcIntosh-IBM added reviewers: ldionne, EricWF.
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.

This gets rid of the need for multiple inheritance, and better
reflects the design - a Guard isn't an instance of GuardByte or
InitByte, it meerly uses them.

This is the 6th of 6 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 D110101 <https://reviews.llvm.org/D110101>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110341

Files:
  libcxxabi/src/cxa_guard_impl.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110341.374586.patch
Type: text/x-patch
Size: 8068 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210923/25a6712f/attachment-0001.bin>


More information about the libcxx-commits mailing list