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

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

Issue 2023703002: Beginning work on GN build (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Really add //build. Add dart_bootstrap rule. Created 4 years, 6 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 | « build/sanitizers/asan_suppressions.cc ('k') | build/sanitizers/sanitizer_options.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // This file contains the default suppressions for LeakSanitizer.
6 // You can also pass additional suppressions via LSAN_OPTIONS:
7 // LSAN_OPTIONS=suppressions=/path/to/suppressions. Please refer to
8 // http://dev.chromium.org/developers/testing/leaksanitizer for more info.
9
10 #if defined(LEAK_SANITIZER)
11
12 // Please make sure the code below declares a single string variable
13 // kLSanDefaultSuppressions which contains LSan suppressions delimited by
14 // newlines. See http://dev.chromium.org/developers/testing/leaksanitizer
15 // for the instructions on writing suppressions.
16 char kLSanDefaultSuppressions[] =
17 // Intentional leak used as sanity test for Valgrind/memcheck.
18 "leak:base::ToolsSanityTest_MemoryLeak_Test::TestBody\n"
19
20 // ================ Leaks in third-party code ================
21
22 // False positives in libfontconfig. http://crbug.com/39050
23 "leak:libfontconfig\n"
24 // eglibc-2.19/string/strdup.c creates false positive leak errors because of the
25 // same reason as crbug.com/39050. The leak error stack trace, when unwind on
26 // malloc, includes a call to libfontconfig. But the default stack trace is too
27 // short in leak sanitizer bot to make the libfontconfig suppression works.
28 // http://crbug.com/605286
29 "leak:__strdup\n"
30
31 // Leaks in Nvidia's libGL.
32 "leak:libGL.so\n"
33
34 // TODO(eugenis): revisit NSS suppressions after the switch to BoringSSL
35 // NSS leaks in CertDatabaseNSSTest tests. http://crbug.com/51988
36 "leak:net::NSSCertDatabase::ImportFromPKCS12\n"
37 "leak:net::NSSCertDatabase::ListCerts\n"
38 "leak:net::NSSCertDatabase::DeleteCertAndKey\n"
39 "leak:crypto::ScopedTestNSSDB::ScopedTestNSSDB\n"
40 // Another leak due to not shutting down NSS properly. http://crbug.com/124445
41 "leak:error_get_my_stack\n"
42 // The NSS suppressions above will not fire when the fast stack unwinder is
43 // used, because it can't unwind through NSS libraries. Apply blanket
44 // suppressions for now.
45 "leak:libnssutil3\n"
46 "leak:libnspr4\n"
47 "leak:libnss3\n"
48 "leak:libplds4\n"
49 "leak:libnssckbi\n"
50
51 // XRandR has several one time leaks.
52 "leak:libxrandr\n"
53
54 // xrandr leak. http://crbug.com/119677
55 "leak:XRRFindDisplay\n"
56
57 // http://crbug.com/431213, http://crbug.com/416665
58 "leak:gin/object_template_builder.h\n"
59
60 // Leaks in swrast_dri.so. http://crbug.com/540042
61 "leak:swrast_dri.so\n"
62
63 // ================ Leaks in Chromium code ================
64 // PLEASE DO NOT ADD SUPPRESSIONS FOR NEW LEAKS.
65 // Instead, commits that introduce memory leaks should be reverted. Suppressing
66 // the leak is acceptable in some cases when reverting is impossible, i.e. when
67 // enabling leak detection for the first time for a test target with
68 // pre-existing leaks.
69
70 // Small test-only leak in ppapi_unittests. http://crbug.com/258113
71 "leak:ppapi::proxy::PPP_Instance_Private_ProxyTest_PPPInstancePrivate_Test\n"
72
73 // http://crbug.com/322671
74 "leak:content::SpeechRecognitionBrowserTest::SetUpOnMainThread\n"
75
76 // http://crbug.com/355641
77 "leak:TrayAccessibilityTest\n"
78
79 // http://crbug.com/354644
80 "leak:CertificateViewerUITest::ShowModalCertificateViewer\n"
81
82 // http://crbug.com/356306
83 "leak:content::SetProcessTitleFromCommandLine\n"
84
85 // http://crbug.com/601435
86 "leak:mojo/edk/js/handle.h\n"
87
88 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS.
89
90 // End of suppressions.
91 ; // Please keep this semicolon.
92
93 #endif // LEAK_SANITIZER
OLDNEW
« no previous file with comments | « build/sanitizers/asan_suppressions.cc ('k') | build/sanitizers/sanitizer_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698