[all-commits] [llvm/llvm-project] 847ea7: [libcxxabi] Pulled guard byte code out of GuardObject

DanielMcIntosh via All-commits all-commits at lists.llvm.org
Wed Jan 12 14:30:52 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 847ea76219899961a7af6d675c0d5512f9a33dea
      https://github.com/llvm/llvm-project/commit/847ea76219899961a7af6d675c0d5512f9a33dea
  Author: Daniel McIntosh <Daniel.McIntosh at ibm.com>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

  Changed paths:
    M libcxxabi/src/cxa_guard_impl.h

  Log Message:
  -----------
  [libcxxabi] Pulled guard byte code out of GuardObject

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 for what the final result will be.

Depends on D110088

Reviewed By: ldionne, #libc_abi

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




More information about the All-commits mailing list