[all-commits] [llvm/llvm-project] b735c6: Reland 'Update llvm::Registry to work for LLVM sha...

Thomas Fransham via All-commits all-commits at lists.llvm.org
Tue Oct 22 00:29:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b735c66da9c9ae752b88941d466895a0b696c75e
      https://github.com/llvm/llvm-project/commit/b735c66da9c9ae752b88941d466895a0b696c75e
  Author: Thomas Fransham <tfransham at gmail.com>
  Date:   2024-10-22 (Tue, 22 Oct 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/Generators.h
    M clang-tools-extra/clang-tidy/ClangTidyModuleRegistry.h
    M clang-tools-extra/clangd/URI.h
    M clang-tools-extra/clangd/refactor/Tweak.h
    M clang-tools-extra/include-cleaner/include/clang-include-cleaner/IncludeSpeller.h
    M clang/include/clang/Basic/ParsedAttrInfo.h
    M clang/include/clang/Frontend/FrontendPluginRegistry.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Tooling/CompilationDatabasePluginRegistry.h
    M clang/include/clang/Tooling/ToolExecutorPluginRegistry.h
    M flang/include/flang/Frontend/FrontendPluginRegistry.h
    M llvm/include/llvm/CodeGen/GCMetadataPrinter.h
    M llvm/include/llvm/IR/GCStrategy.h
    M llvm/include/llvm/Support/Compiler.h
    M llvm/include/llvm/Support/Registry.h

  Log Message:
  -----------
  Reland 'Update llvm::Registry to work for LLVM shared library builds on windows' (#109024) (#112640)

Fix missing extern templates for llvm::Registry use in other projects of
llvm

Windows doesn't implicitly import and merge exported symbols across
shared libraries
like Linux does so we need to explicitly export/import each
instantiation of llvm::Registry.
Updated LLVM_INSTANTIATE_REGISTRY to just be a full explicit template
instantiation.

This is part of the work to enable LLVM_BUILD_LLVM_DYLIB and LLVM
plugins on window.



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