mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 15:50:11 +01:00
targets: export radeon winsys_create functions to silence LLVM warning
It silences the following radeonsi LLVM warning due to a previous commit adding an LLVM workaround: "mesa: for the -simplifycfg-sink-common option: may only occur zero or one times!" Cc: 17.0 <mesa-stable@lists.freedesktop.org> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by; Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
6ee486899b
commit
18b12bf533
3 changed files with 15 additions and 0 deletions
|
|
@ -1,6 +1,11 @@
|
||||||
{
|
{
|
||||||
global:
|
global:
|
||||||
omx_component_library_Setup;
|
omx_component_library_Setup;
|
||||||
|
|
||||||
|
# Workaround for an LLVM warning with -simplifycfg-sink-common
|
||||||
|
# due to LLVM being initialized multiple times.
|
||||||
|
radeon_drm_winsys_create;
|
||||||
|
amdgpu_winsys_create;
|
||||||
local:
|
local:
|
||||||
*;
|
*;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,11 @@
|
||||||
global:
|
global:
|
||||||
driver_descriptor;
|
driver_descriptor;
|
||||||
swrast_driver_descriptor;
|
swrast_driver_descriptor;
|
||||||
|
|
||||||
|
# Workaround for an LLVM warning with -simplifycfg-sink-common
|
||||||
|
# due to LLVM being initialized multiple times.
|
||||||
|
radeon_drm_winsys_create;
|
||||||
|
amdgpu_winsys_create;
|
||||||
local:
|
local:
|
||||||
*;
|
*;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,11 @@
|
||||||
{
|
{
|
||||||
global:
|
global:
|
||||||
__vaDriverInit_*_*;
|
__vaDriverInit_*_*;
|
||||||
|
|
||||||
|
# Workaround for an LLVM warning with -simplifycfg-sink-common
|
||||||
|
# due to LLVM being initialized multiple times.
|
||||||
|
radeon_drm_winsys_create;
|
||||||
|
amdgpu_winsys_create;
|
||||||
local:
|
local:
|
||||||
*;
|
*;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue