bd91b2eef3
This is to improve the readability of ASAN reports. The debug package adds function names and source code references to the backtrace (currently, there are only binary addresses of functions) Another way to address this issue is to build the image with "INSTALL_DEBUG_TOOLS=y". The downside of this approach is that the image size and compilation time are unnecessarily big. Also, the idea is to make the "ENABLE_ASAN" self-sufficient, which would not be the case for this approach. - Why I did it To improve the readability of asan logs. - How I did it Added SYNCD_DBG and SWSS_DBG to corresponding docker images for ASAN_ENABLE=y build - How to verify it Add artificial memory leak Build with ASAN_ENABLE=y Test the image and check the ASAN report Signed-off-by: Yakiv Huryk <yhuryk@nvidia.com> |
||
---|---|---|
.. | ||
barefoot | ||
broadcom | ||
cavium | ||
centec | ||
centec-arm64 | ||
checkout | ||
components | ||
generic | ||
innovium | ||
marvell | ||
marvell-arm64 | ||
marvell-armhf | ||
mellanox | ||
nephos | ||
p4 | ||
pddf | ||
template | ||
vs |