mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
Add lsan.supp
...so suppress errors from ASAN with EGL renderer. Also add a script to simplify running with sanitizer and this suppression file. Related-to: #2331
This commit is contained in:
parent
2f8afb2376
commit
d2a864dfe7
2 changed files with 10 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
||||||
leak:libfontconfig.so
|
leak:libfontconfig.so
|
||||||
|
leak:libEGL_mesa.so
|
||||||
|
|
|
||||||
9
scripts/run-with-asan.sh
Executable file
9
scripts/run-with-asan.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
: ${BUILD_DIR="build"}
|
||||||
|
|
||||||
|
[ -d "${BUILD_DIR}" ] || meson setup "${BUILD_DIR}"
|
||||||
|
meson configure -Db_sanitize=address,undefined "${BUILD_DIR}"
|
||||||
|
ninja -C "${BUILD_DIR}"
|
||||||
|
LSAN_OPTIONS=suppressions=scripts/asan_leak_suppressions "${BUILD_DIR}/labwc" -d 2>log.txt
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue