targets: export radeon winsys_create functions to silence LLVM warning
authorMarek Olšák <marek.olsak@amd.com>
Thu, 23 Mar 2017 23:55:55 +0000 (00:55 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 4 Apr 2017 20:15:47 +0000 (22:15 +0200)
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>

src/gallium/targets/omx/omx.sym
src/gallium/targets/pipe-loader/pipe.sym
src/gallium/targets/va/va.sym

index af22aedb5874f3c5e6cc1f15d4738a3afb3372cc..e8a287600a5b20f24d57c59c25c41d09887a37ed 100644 (file)
@@ -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:
                *;
 };
index b2fa619f7dee79848612bc4b4fd1b6a6240e1a0b..605cb83d802294f75cee7a791f576e7790ea48a3 100644 (file)
@@ -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:
                *;
 };
index c925b2e0f26ff7acef4b466f65c3594f2ef1c0be..917c3d3c3016a5892fc104b09fc1a0c49de548a2 100644 (file)
@@ -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:
                *;
 };