mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Add LSAN suppression rules config file.
This file has been tested on linux, other platforms may need some tweaks, and/or dedicated files. This is used to suppress errors with builds integrating ASAN sanitazing tools, regarding memleaks detected in some third party libraries. To use it, define the envvar option like that: `LSAN_OPTIONS=print_suppressions=false:suppressions=/path/to/blender/source/tools/config/analysis/lsan.supp` This is especially usefull when running ctest. NOTE: Will also update https://wiki.blender.org/wiki/Tools/Tests/Setup and https://wiki.blender.org/wiki/Tools/Debugging/ASAN_Address_Sanitizer accordingly.
This commit is contained in:
parent
3006140718
commit
4d58f01424
1 changed files with 16 additions and 0 deletions
16
tools/config/analysis/lsan.supp
Normal file
16
tools/config/analysis/lsan.supp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
leak:_PyObject_Malloc
|
||||
leak:_PyObject_Realloc
|
||||
leak:PyThread_allocate_lock
|
||||
leak:libpython*
|
||||
leak:imb_exitopenexr
|
||||
leak:imb_filetypes_exit
|
||||
leak:libIlm*
|
||||
leak:<unknown module>
|
||||
leak:libX11*
|
||||
leak:libglib*
|
||||
leak:libnvidia*
|
||||
leak:i965_dri
|
||||
leak:libdrm*
|
||||
leak:radeon*
|
||||
leak:libGLX*
|
||||
leak:libasan*
|
||||
Loading…
Add table
Add a link
Reference in a new issue