aboutsummaryrefslogtreecommitdiff
path: root/absl/base/internal/poison.h
Commit message (Collapse)AuthorAgeFilesLines
* Roll forward poisoned pointer API and fix portability issues.Evan Brown2024-07-101-0/+59
| | | | | | | Also, return the middle of the poisoned block. PiperOrigin-RevId: 651119057 Change-Id: Iae0fc3dcb40e32cd449f469d9b8d62c37f3773f4
* Rollback new poisoned pointer APIDerek Mauro2024-07-011-36/+0
| | | | | | | | | This breaks Chromium due to global constructor and incorrectly assumes page size. https://github.com/abseil/abseil-cpp/pull/1697 PiperOrigin-RevId: 648377066 Change-Id: I19f8b2655971a0c314091e26e62e10a5a9c46e94
* Add an internal API to get a poisoned pointer.Evan Brown2024-06-241-0/+36
The motivation is to make destroyed/moved-from objects cause crashes when they are accessed. PiperOrigin-RevId: 646229564 Change-Id: I68d9c189b542df0933af08f5ad63dc1f5764d856