You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LLVM's libc++ was the first to introduce hardening. Hardening will add extra checks for preconditions to some methods (e.g. element access in a vector) and terminate. We use libc++ on macOS right now. Hardening can be enabled for one program (or even more granular) without worrying about ABI or taking huge performance hits (docs).
It was since adopted to C++ 26, but isn't strictly tied to that standard version (i.e. it can be enabled in all standards). MSVC's STL is also working on hardening (likely to be in the next VS version).
I think we should try to run with the "fast" mode in nightly. This way we can find more subtle bugs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
LLVM's libc++ was the first to introduce hardening. Hardening will add extra checks for preconditions to some methods (e.g. element access in a vector) and terminate. We use libc++ on macOS right now. Hardening can be enabled for one program (or even more granular) without worrying about ABI or taking huge performance hits (docs).
It was since adopted to C++ 26, but isn't strictly tied to that standard version (i.e. it can be enabled in all standards). MSVC's STL is also working on hardening (likely to be in the next VS version).
I think we should try to run with the "fast" mode in nightly. This way we can find more subtle bugs.
Beta Was this translation helpful? Give feedback.
All reactions