mirror of
https://github.com/swaywm/sway.git
synced 2025-02-16 14:24:27 +00:00
add note about asan+coredump
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
|
||||
|
|
Loading…
Reference in a new issue