[clang] Add DllMain entry point to `libclang.dll` (PR #171465)

via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 9 08:47:14 PST 2025


================
@@ -168,6 +169,9 @@ if(ENABLE_SHARED)
       # If llvm/libclang-cpp dll is also being built for windows clang c++ symbols will still be
       # implicitly be exported from libclang.
       target_compile_definitions(libclang PRIVATE CLANG_BUILD_STATIC)
+      if(LLVM_ENABLE_RPMALLOC)
----------------
GkvJwa wrote:

Currently, the allocator lacks global macro definitions; adding them might introduce more pollution.

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


More information about the cfe-commits mailing list