[llvm] [llvm] Support llvm::Any across shared libraries on windows (PR #108051)

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 10:03:15 PDT 2024


================
@@ -1308,6 +1309,10 @@ class LazyCallGraphDOTPrinterPass
   static bool isRequired() { return true; }
 };
 
+#ifdef _WIN32
----------------
compnerd wrote:

This shouldn't change the behaviour at execution, it will ensure that there is a canonical definition of the template and that is used rather than emitting it everywhere and relying on COMDAT.

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


More information about the llvm-commits mailing list