forked from lix-project/lix
jade
7ca47a0e69
This was found while writing the release blog post.
Change-Id: Ifd55f308d4d4c831273cbe6ea35d29a38e134783
704 B
704 B
synopsis | cls | credits | category | ||||
---|---|---|---|---|---|---|---|
Lix now supports building with UndefinedBehaviorSanitizer |
|
|
Development |
You can now build Lix with the configuration option -Db_sanitize=undefined,address
and it will both work and pass tests with both AddressSanitizer and UndefinedBehaviorSanitizer enabled.
To use ASan specifically, you have to set -Dgc=disabled
, which an error message will tell you to do if necessary anyhow.
Furthermore, tests passing with Clang ASan+UBSan is checked on every change in CI.
For a list of undefined behaviour found by tooling usage, see the gerrit topic "undefined-behaviour".