From: Eli Friedman Date: Mon, 20 Jun 2016 02:48:11 +0000 (+0000) Subject: Fix dynamically linked debug builds. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fcb9a713c729628a8759a77316281277092b675e;p=llvm Fix dynamically linked debug builds. On the surface, this might not look like it does anything... but actually it brings in the declaration "extern template class AnalysisManager;", which suppresses the instantiation of the constructor, which avoids the funny interaction between "extern template" and -fvisibility-inlines-hidden. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273133 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/LoopPass.cpp b/lib/Analysis/LoopPass.cpp index 5f9d326d121..84a5611e34d 100644 --- a/lib/Analysis/LoopPass.cpp +++ b/lib/Analysis/LoopPass.cpp @@ -14,6 +14,7 @@ //===----------------------------------------------------------------------===// #include "llvm/Analysis/LoopPass.h" +#include "llvm/Analysis/LoopPassManager.h" #include "llvm/IR/IRPrintingPasses.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/OptBisect.h"