File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -248,14 +248,12 @@ Hardening assertion failure
248248===========================
249249
250250In production modes (``fast `` and ``extensive ``), a hardening assertion failure
251- immediately ``_traps <https://llvm.org/docs/LangRef .html#llvm-trap-intrinsic > ``
251+ immediately ``_traps <https://clang. llvm.org/docs/LanguageExtensions .html#builtin-verbose-trap > ``
252252the program. This is the safest approach that also minimizes the code size
253253penalty as the failure handler maps to a single instruction. The downside is
254254that the failure provides no additional details other than the stack trace
255255(which might also be affected by optimizations).
256256
257- TODO(hardening): describe ``__builtin_verbose_trap `` once we can use it.
258-
259257In the ``debug `` mode, an assertion failure terminates the program in an
260258unspecified manner and also outputs the associated error message to the error
261259output. This is less secure and increases the size of the binary (among other
You can’t perform that action at this time.
0 commit comments