[PATCH 77/90] add POCL_EXPORT to additional symbols needed if hardening is enabled
authorAndreas Beckmann <anbe@debian.org>
Wed, 13 Oct 2021 14:23:53 +0000 (16:23 +0200)
committerAndreas Beckmann <anbe@debian.org>
Fri, 7 Jan 2022 23:55:22 +0000 (23:55 +0000)
Gbp-Pq: Name 0077-add-POCL_EXPORT-to-additional-symbols-needed-if-hard.patch

lib/CL/pocl_util.h

index d8cb86611c15294a7e6229c0e7b28418cb90b503..35527ff0715fea1e318e0cd3ebefd1709fa8e827 100644 (file)
@@ -107,8 +107,10 @@ cl_int pocl_create_command_migrate (_cl_command_node **cmd,
 void pocl_command_enqueue (cl_command_queue command_queue,
                           _cl_command_node *node);
 
+POCL_EXPORT
 int pocl_alloc_or_retain_mem_host_ptr (cl_mem mem);
 
+POCL_EXPORT
 int pocl_release_mem_host_ptr (cl_mem mem);
 
 /* does several sanity checks on buffer & given memory region */