[libcxx-commits] [PATCH] D60053: Refactor cxa_guard.cpp

Eric Fiselier via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Mar 31 17:48:10 PDT 2019


EricWF created this revision.
EricWF added reviewers: mclow.lists, ldionne, smeenai, phosek.
Herald added subscribers: libcxx-commits, jfb, dexonsmith.

The implementation of `__cxa_guard_acquire` is a mess. This patch attempts to clean it up. No functionality change is intended.

This cleanup is motivated by upcoming changes. Specifically changes to allow libc++abi to tolerate when `pthread_mutex_lock` is being intercepted.


Repository:
  rCXXA libc++abi

https://reviews.llvm.org/D60053

Files:
  src/cxa_guard.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60053.193033.patch
Type: text/x-patch
Size: 13339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190401/58b6a032/attachment-0001.bin>


More information about the libcxx-commits mailing list