[all-commits] [llvm/llvm-project] 09fa2f: [Clang] Add explicit visibility symbol macros (#10...
Thomas Fransham via All-commits
all-commits at lists.llvm.org
Mon Oct 14 08:33:13 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 09fa2f012fccb6f1cf2f540856e67f55431da800
https://github.com/llvm/llvm-project/commit/09fa2f012fccb6f1cf2f540856e67f55431da800
Author: Thomas Fransham <tfransham at gmail.com>
Date: 2024-10-14 (Mon, 14 Oct 2024)
Changed paths:
M clang/cmake/modules/AddClang.cmake
A clang/include/clang/Support/Compiler.h
M clang/tools/libclang/CMakeLists.txt
Log Message:
-----------
[Clang] Add explicit visibility symbol macros (#108276)
This is part of the effort to support for enabling plugins on windows by
adding better support for building llvm and clang as a DLL. These macros
are similar to the ones i added in #96630, but are for clang.
Added explicit symbol visibility macros definitions that are defined in
a new header and will be used to for shared library builds of clang to
export
symbols.
Updated clang cmake to define a macro to enable the symbol visibility
macros and explicitly disable them for clang tools that always use
static linking.
---------
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list