This commit adds an atomic_compare_exchange_weak method
to the atomic helpers in scudo standalone.
Details
Details
- Reviewers
vitalybuka mcgrathr
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This extracts the changes around atomics from https://reviews.llvm.org/D126752?id=435038 and adds tests for it :)
Comment Actions
The patch is LGTM, but I would prefer you avoid it, and use existing strong version, unless you can prove meaningful performance difference with weak