Bug 1251587 - Add Windows support to the clang plugin; r=jrmuizel
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 26 Feb 2016 07:26:15 -0500
changeset 322222 80b03cb5ec4f93e53853dfa9f6e0daab068a6098
parent 322221 5f99c7eaa873f6e9649ca1904c842e03aed39ef7
child 322223 c728ed2a0ba979418ce9ea98cfb45b55967cc7cb
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1251587
milestone47.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1251587 - Add Windows support to the clang plugin; r=jrmuizel
build/clang-plugin/clang-plugin.cpp
--- a/build/clang-plugin/clang-plugin.cpp
+++ b/build/clang-plugin/clang-plugin.cpp
@@ -1512,8 +1512,12 @@ public:
                  const std::vector<std::string> &args) override {
     return true;
   }
 };
 }
 
 static FrontendPluginRegistry::Add<MozCheckAction> X("moz-check",
                                                      "check moz action");
+// Export the registry on Windows.
+#ifdef LLVM_EXPORT_REGISTRY
+LLVM_EXPORT_REGISTRY(FrontendPluginRegistry)
+#endif