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

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

Issue 2101243005: Add a snapshot of flutter/engine/src/build to our sdk (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add README.dart Created 4 years, 5 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
25 // Leaks in Nvidia's libGL.
26 "leak:libGL.so\n"
27
28 // A small leak in V8. http://crbug.com/46571#c9
29 "leak:blink::V8GCController::collectGarbage\n"
30
31 // TODO(earthdok): revisit NSS suppressions after the switch to BoringSSL
32 // NSS leaks in CertDatabaseNSSTest tests. http://crbug.com/51988
33 "leak:net::NSSCertDatabase::ImportFromPKCS12\n"
34 "leak:net::NSSCertDatabase::ListCerts\n"
35 "leak:net::NSSCertDatabase::DeleteCertAndKey\n"
36 "leak:crypto::ScopedTestNSSDB::ScopedTestNSSDB\n"
37 // Another leak due to not shutting down NSS properly. http://crbug.com/124445
38 "leak:error_get_my_stack\n"
39 // The NSS suppressions above will not fire when the fast stack unwinder is
40 // used, because it can't unwind through NSS libraries. Apply blanket
41 // suppressions for now.
42 "leak:libnssutil3\n"
43 "leak:libnspr4\n"
44 "leak:libnss3\n"
45 "leak:libplds4\n"
46 "leak:libnssckbi\n"
47
48 // XRandR has several one time leaks.
49 "leak:libxrandr\n"
50
51 // xrandr leak. http://crbug.com/119677
52 "leak:XRRFindDisplay\n"
53
54 // Suppressions for objects which can be owned by the V8 heap. This is a
55 // temporary workaround until LeakSanitizer supports the V8 heap.
56 // Those should only fire in (browser)tests. If you see one of them in Chrome,
57 // then it's a real leak.
58 // http://crbug.com/328552
59 "leak:WTF::StringImpl::createUninitialized\n"
60 "leak:WTF::StringImpl::create8BitIfPossible\n"
61 "leak:blink::MouseEvent::create\n"
62 "leak:blink::*::*GetterCallback\n"
63 "leak:blink::CSSComputedStyleDeclaration::create\n"
64 "leak:blink::V8PerIsolateData::ensureDomInJSContext\n"
65 "leak:gin/object_template_builder.h\n"
66 "leak:gin::internal::Dispatcher\n"
67 "leak:blink::LocalDOMWindow::getComputedStyle\n"
68 // This should really be RemoteDOMWindow::create, but symbolization is
69 // weird in release builds. https://crbug.com/484760
70 "leak:blink::RemoteFrame::create\n"
71 // Likewise, this should really be blink::WindowProxy::initializeIfNeeded.
72 // https://crbug.com/484760
73 "leak:blink::WindowProxy::createContext\n"
74
75 // http://crbug.com/356785
76 "leak:content::RenderViewImplTest_DecideNavigationPolicyForWebUI_Test::TestBody\ n"
77
78 // ================ Leaks in Chromium code ================
79 // PLEASE DO NOT ADD SUPPRESSIONS FOR NEW LEAKS.
80 // Instead, commits that introduce memory leaks should be reverted. Suppressing
81 // the leak is acceptable in some cases when reverting is impossible, i.e. when
82 // enabling leak detection for the first time for a test target with
83 // pre-existing leaks.
84
85 // Small test-only leak in ppapi_unittests. http://crbug.com/258113
86 "leak:ppapi::proxy::PPP_Instance_Private_ProxyTest_PPPInstancePrivate_Test\n"
87
88 // http://crbug.com/322671
89 "leak:content::SpeechRecognitionBrowserTest::SetUpOnMainThread\n"
90
91 // http://crbug.com/355641
92 "leak:TrayAccessibilityTest\n"
93
94 // http://crbug.com/354644
95 "leak:CertificateViewerUITest::ShowModalCertificateViewer\n"
96
97 // http://crbug.com/356306
98 "leak:content::SetProcessTitleFromCommandLine\n"
99
100 // http://crbug.com/506433
101 "leak:blink::ResourceFetcher::garbageCollectDocumentResources\n"
102
103 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS.
104
105 // End of suppressions.
106 ; // Please keep this semicolon.
107
108 #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