[Openmp-commits] [PATCH] D138002: [OpenMP][libomptarget] Build plugins-nextgen/common/PluginInterface with protected visibility

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 16 05:12:07 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6bacbea82609: [Libomptarget] Build plugins-nextgen/common/PluginInterface with protected… (authored by kevinsala, committed by jhuber6).

Changed prior to commit:
  https://reviews.llvm.org/D138002?vs=475653&id=475792#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138002/new/

https://reviews.llvm.org/D138002

Files:
  openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt


Index: openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt
===================================================================
--- openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt
+++ openmp/libomptarget/plugins-nextgen/common/PluginInterface/CMakeLists.txt
@@ -19,7 +19,9 @@
 # Define the DEBUG_PREFIX.
 add_definitions(-DDEBUG_PREFIX="PluginInterface")
 
-set_property(TARGET PluginInterface PROPERTY POSITION_INDEPENDENT_CODE ON)
+set_target_properties(PluginInterface PROPERTIES
+  POSITION_INDEPENDENT_CODE ON
+  CXX_VISIBILITY_PRESET protected)
 llvm_update_compile_flags(PluginInterface)
 set(LINK_LLVM_LIBS LLVMSupport)
 if (LLVM_LINK_LLVM_DYLIB)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138002.475792.patch
Type: text/x-patch
Size: 702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221116/a298bf3b/attachment.bin>


More information about the Openmp-commits mailing list