summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-03-24 00:55:55 +0100
committerMarek Olšák <[email protected]>2017-04-04 22:15:47 +0200
commit18b12bf53351e1a902dc1f2e527a94ec8d8f3eff (patch)
tree8d000656cb797772f91900d5f60b63cfdb1cec42 /src
parent6ee486899b7fac43fc97a5a80bc090db349d374f (diff)
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 <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by; Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/targets/omx/omx.sym5
-rw-r--r--src/gallium/targets/pipe-loader/pipe.sym5
-rw-r--r--src/gallium/targets/va/va.sym5
3 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/targets/omx/omx.sym b/src/gallium/targets/omx/omx.sym
index af22aedb587..e8a287600a5 100644
--- a/src/gallium/targets/omx/omx.sym
+++ b/src/gallium/targets/omx/omx.sym
@@ -1,6 +1,11 @@
{
global:
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:
*;
};
diff --git a/src/gallium/targets/pipe-loader/pipe.sym b/src/gallium/targets/pipe-loader/pipe.sym
index b2fa619f7de..605cb83d802 100644
--- a/src/gallium/targets/pipe-loader/pipe.sym
+++ b/src/gallium/targets/pipe-loader/pipe.sym
@@ -2,6 +2,11 @@
global:
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:
*;
};
diff --git a/src/gallium/targets/va/va.sym b/src/gallium/targets/va/va.sym
index c925b2e0f26..917c3d3c301 100644
--- a/src/gallium/targets/va/va.sym
+++ b/src/gallium/targets/va/va.sym
@@ -1,6 +1,11 @@
{
global:
__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:
*;
};