Flutter Engine
The Flutter Engine
third_party
skia
tools
LsanSuppressions.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2016 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#include "
include/core/SkTypes.h
"
9
10
#if !defined(__has_feature)
11
#define __has_feature(x) 0
12
#endif
13
14
#if __has_feature(address_sanitizer) && !defined(SK_BUILD_FOR_WIN)
15
16
extern
"C"
{
17
18
const
char
* __lsan_default_suppressions();
19
const
char
* __lsan_default_suppressions() {
20
return
"leak:libfontconfig\n"
// FontConfig looks like it leaks, but it doesn't.
21
"leak:libfreetype\n"
// Unsure, appeared upgrading Debian 9->10.
22
"leak:libGLX_nvidia.so\n"
// For NVidia driver.
23
"leak:libnvidia-glcore.so\n"
// For NVidia driver.
24
"leak:libnvidia-tls.so\n"
// For NVidia driver.
25
"leak:terminator_CreateDevice\n"
// Intel Vulkan drivers.
26
"leak:vkEnumeratePhysicalDevices\n"
// Intel Vulkan drivers.
27
;
28
}
29
30
}
31
32
#endif
SkTypes.h
Generated on Sun Jun 23 2024 21:56:50 for Flutter Engine by
1.9.4