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:
@@ -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*
|
||||
Reference in New Issue
Block a user