Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
LSANSuppressions.h
Go to the documentation of this file.
1// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
2// SPDX-FileCopyrightText: 2026 Jorrit Rouwe
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
7#if defined(JPH_USE_VK) && defined(JPH_ASAN_ENABLED)
8
10JPH_CLANG_SUPPRESS_WARNING("-Wreserved-identifier")
11
12// Suppress ASAN leak detection for the Vulkan driver
13extern "C" const char *__lsan_default_suppressions();
14extern "C" const char *__lsan_default_suppressions()
15{
16 return "leak:libvulkan";
17}
18
20
21#endif
#define JPH_CLANG_SUPPRESS_WARNING(w)
Definition Core.h:310
#define JPH_SUPPRESS_WARNING_POP
Definition ShaderCore.h:38
#define JPH_SUPPRESS_WARNING_PUSH
Definition ShaderCore.h:37