File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -248,14 +248,12 @@ Hardening assertion failure
248
248
===========================
249
249
250
250
In 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 > ``
252
252
the program. This is the safest approach that also minimizes the code size
253
253
penalty as the failure handler maps to a single instruction. The downside is
254
254
that the failure provides no additional details other than the stack trace
255
255
(which might also be affected by optimizations).
256
256
257
- TODO(hardening): describe ``__builtin_verbose_trap `` once we can use it.
258
-
259
257
In the ``debug `` mode, an assertion failure terminates the program in an
260
258
unspecified manner and also outputs the associated error message to the error
261
259
output. 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