[clang] [Clang] Add explicit visibility symbol macros (PR #108276)

Thomas Fransham via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 24 08:56:42 PDT 2024


================
@@ -8,6 +8,7 @@
 
 set(LLVM_LINK_COMPONENTS Support)
 
-add_clang_tool(amdgpu-arch AMDGPUArch.cpp AMDGPUArchByHSA.cpp AMDGPUArchByHIP.cpp)
+add_clang_tool(amdgpu-arch DISABLE_CLANG_LINK_DYLIB
----------------
fsfod wrote:

There using target_link_libraries instead of clang_target_link_libraries so there not linked to clang-cpp so we have to disable import macros.

https://github.com/llvm/llvm-project/pull/108276


More information about the cfe-commits mailing list