add note about asan+coredump

Tudor Brindus 2020-12-31 20:42:29 -05:00
parent ebb2f996f4
commit b768bf951e

@ -49,6 +49,8 @@ build/sway/sway
To enable the address sanitizer (ASan) and the undefined behavior sanitizer (UBSan), add `-Db_sanitize=address,undefined` to the `meson` command.
In order to be able to collect core dumps on ASan failures (to inspect variable state at the point of failure, for instance), you must specify `ASAN_OPTIONS=abort_on_error=1:disable_coredump=0:unmap_shadow_on_exit=1` in the environment that you launch `sway` in.
When pulling from the Sway repo, remember to also pull from the wlroots repo.
# System-wide installation