0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

doc: Add note for --with-assert=trap [ci skip]

This commit is contained in:
Jason Volk 2020-04-29 14:59:29 -07:00
parent 15e5873f40
commit c514e32a3b

View file

@ -102,6 +102,12 @@ reliably. Please report bugs._
Implied by `--enable-debug`. This is useful to specifically enable `assert()` Implied by `--enable-debug`. This is useful to specifically enable `assert()`
statements when `--enable-debug` is not used. statements when `--enable-debug` is not used.
```
--with-assert=trap
```
Recommended when using `--enable-assert` for debugging. This replaces the
default mechanism of assertion with traps rather than aborts; allowing
developers to explore an unterminated program.
#### Manually enable optimization #### Manually enable optimization