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

Side by Side Diff: build/sanitizers/lsan_suppressions.cc

Issue 1870503002: Making CSSValue Pool thread local (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing ASAN memory leaks in 2 unit tests Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSValuePool.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains the default suppressions for LeakSanitizer. 5 // This file contains the default suppressions for LeakSanitizer.
6 // You can also pass additional suppressions via LSAN_OPTIONS: 6 // You can also pass additional suppressions via LSAN_OPTIONS:
7 // LSAN_OPTIONS=suppressions=/path/to/suppressions. Please refer to 7 // LSAN_OPTIONS=suppressions=/path/to/suppressions. Please refer to
8 // http://dev.chromium.org/developers/testing/leaksanitizer for more info. 8 // http://dev.chromium.org/developers/testing/leaksanitizer for more info.
9 9
10 #if defined(LEAK_SANITIZER) 10 #if defined(LEAK_SANITIZER)
11 11
12 // Please make sure the code below declares a single string variable 12 // Please make sure the code below declares a single string variable
13 // kLSanDefaultSuppressions which contains LSan suppressions delimited by 13 // kLSanDefaultSuppressions which contains LSan suppressions delimited by
14 // newlines. See http://dev.chromium.org/developers/testing/leaksanitizer 14 // newlines. See http://dev.chromium.org/developers/testing/leaksanitizer
15 // for the instructions on writing suppressions. 15 // for the instructions on writing suppressions.
16 char kLSanDefaultSuppressions[] = 16 char kLSanDefaultSuppressions[] =
17 // Intentional leak used as sanity test for Valgrind/memcheck. 17 // Intentional leak used as sanity test for Valgrind/memcheck.
18 "leak:base::ToolsSanityTest_MemoryLeak_Test::TestBody\n" 18 "leak:base::ToolsSanityTest_MemoryLeak_Test::TestBody\n"
19 19
20 // ================ Leaks in third-party code ================ 20 // ================ Leaks in third-party code ================
21 21
22 // False positives in libfontconfig. http://crbug.com/39050 22 // False positives in libfontconfig. http://crbug.com/39050
23 "leak:libfontconfig\n" 23 "leak:libfontconfig\n"
24 // eglibc-2.19/string creates false positive leak errors because of the same
25 // reason as crbug.com/39050. The leak error stack trace, when unwind on malloc,
26 // includes a call to libfontconfig. But the default stack trace is too short
27 // in leak sanitizer bot to make the libfontconfig suppression works.
28 "leak:eglibc-2.19/string\n"
Evgeniy Stepanov 2016/04/20 20:53:26 This would break on any different version of glibc
Evgeniy Stepanov 2016/04/20 21:13:07 OK, I've got it. I'll fix ASan/LSan upstream so th
24 29
25 // Leaks in Nvidia's libGL. 30 // Leaks in Nvidia's libGL.
26 "leak:libGL.so\n" 31 "leak:libGL.so\n"
27 32
28 // TODO(eugenis): revisit NSS suppressions after the switch to BoringSSL 33 // TODO(eugenis): revisit NSS suppressions after the switch to BoringSSL
29 // NSS leaks in CertDatabaseNSSTest tests. http://crbug.com/51988 34 // NSS leaks in CertDatabaseNSSTest tests. http://crbug.com/51988
30 "leak:net::NSSCertDatabase::ImportFromPKCS12\n" 35 "leak:net::NSSCertDatabase::ImportFromPKCS12\n"
31 "leak:net::NSSCertDatabase::ListCerts\n" 36 "leak:net::NSSCertDatabase::ListCerts\n"
32 "leak:net::NSSCertDatabase::DeleteCertAndKey\n" 37 "leak:net::NSSCertDatabase::DeleteCertAndKey\n"
33 "leak:crypto::ScopedTestNSSDB::ScopedTestNSSDB\n" 38 "leak:crypto::ScopedTestNSSDB::ScopedTestNSSDB\n"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 83
79 // http://crbug.com/601435 84 // http://crbug.com/601435
80 "leak:mojo/edk/js/handle.h\n" 85 "leak:mojo/edk/js/handle.h\n"
81 86
82 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS. 87 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS.
83 88
84 // End of suppressions. 89 // End of suppressions.
85 ; // Please keep this semicolon. 90 ; // Please keep this semicolon.
86 91
87 #endif // LEAK_SANITIZER 92 #endif // LEAK_SANITIZER
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSValuePool.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698