Use the new macro instead of _LIBCPP_DEBUG_ITERATOR_BOUNDS_CHECKING.
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rGbe02f912d6b9: [libc++][hardening] Add an ABI macro `_LIBCPP_ABI_BOUNDED_ITERATORS`.
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Note: this patch is split from https://reviews.llvm.org/D151637 (which is a draft but helps see the state towards which this patch is working).
libcxx/include/__config | ||
---|---|---|
197 | This is not true right now, so it should be removed. | |
198 | ||
199–200 | This is also aspirational so it could be removed (for now). | |
202–203 | This seems simpler but also more accurate. | |
libcxx/include/__config_site.in | ||
33 ↗ | (On Diff #535037) | We generally don't do that for ABI macros (except e.g. _LIBCPP_ABI_FORCE_ITANIUM and _LIBCPP_ABI_FORCE_MICROSOFT which are kind of hacks and don't have the same purpose as other ABI macros). I don't think this is necessary. |
The CI failure (on Windows) looks unrelated:
ERROR Error uploading artifact states: Put "https://agent.buildkite.com/v3/jobs/0188fe57-a065-42d7-9db7-12f5c85e38c4/artifacts": context deadline exceeded
I'll go ahead and merge this.
This is not true right now, so it should be removed.