You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/09/15 21:09:25 UTC
[GitHub] [trafficserver] moonchen commented on pull request #9004: Clean up spurious errors in output of ASAN build.
moonchen commented on PR #9004:
URL: https://github.com/apache/trafficserver/pull/9004#issuecomment-1248633685
There is an documented way in LeakSanitizer to ignore leaks: https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer#suppressions. We should use that method if we want to ignore leaks.
If we want to change the code to remove the leak, we should do it in a way that removes it in both sanitizer and non-sanitizer builds. Having different code for sanitizer vs non-sanitizer should be a last resort since it defeats the verification function of the sanitizers.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org