Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: tools/lsan.supp

Issue 145033010: Add a suppressions file for leak sanitizer. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lsan.supp
diff --git a/tools/lsan.supp b/tools/lsan.supp
new file mode 100644
index 0000000000000000000000000000000000000000..6a274c020275cc991cfbcdb05d32408f6c893ee9
--- /dev/null
+++ b/tools/lsan.supp
@@ -0,0 +1,16 @@
+# Supressions for LSAN.
+# tools/xsan_build address -C out/Debug
+# ASAN_OPTIONS=detect_leaks=1 LSAN_OPTIONS=suppressions=tools/lsan.supp out/Debug/$FOO
+
+# Ignore fontconfig leaks.
+leak:FcFontSet
+leak:FcPatternObject
+
+# It'd be really nice to supress these leaks in the Nvidia driver, but I can't figure it out.
+# Direct leak of 18072 byte(s) in 3 object(s) allocated from:
+# #0 0x5ebb59 in calloc ~/llvm-3.4/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:90
+# #1 0x7f66af293b1e (/usr/lib/nvidia-current/libGL.so.1+0xbcb1e)
+
+# Skia leaks
+leak:SkRTConf
+leak:SkFontMgr
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698