Instantiate llvm::Registry<clang::PluginASTAction> in FrontendAction.cpp.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 11 Jul 2014 15:06:24 +0000 (15:06 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 11 Jul 2014 15:06:24 +0000 (15:06 +0000)
commitad4c06c656d124366325116124bd278522dd12ce
treefe9c030ab79e40548cd4d49b916a1a3c542f3ba7
parent767ee965343ba5c8297a010afc19c31d946bb3be
Instantiate llvm::Registry<clang::PluginASTAction> in FrontendAction.cpp.

  - Plugins don't need to export _ZN4llvm8Registry*.
  - Win32.DLL cannot merge common symbols among DLLs. Static members in llvm::Registry should be instantiated in a parent.

llvm-svn: 212821
clang/examples/PrintFunctionNames/PrintFunctionNames.exports
clang/include/clang/Frontend/FrontendPluginRegistry.h
clang/lib/Frontend/FrontendAction.cpp