summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2016-06-20 02:48:11 +0000
committerEli Friedman <eli.friedman@gmail.com>2016-06-20 02:48:11 +0000
commitf3b71581dd9b56cca44e80a7b595d2b8a641d8f6 (patch)
tree338aea41bf2fa6e2d580d184842cde44cd7ae658
parenta705843f23ce7277fb1cffaa9f55447e91059594 (diff)
downloadbcm5719-llvm-f3b71581dd9b56cca44e80a7b595d2b8a641d8f6.tar.gz
bcm5719-llvm-f3b71581dd9b56cca44e80a7b595d2b8a641d8f6.zip
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<Loop>;", which suppresses the instantiation of the constructor, which avoids the funny interaction between "extern template" and -fvisibility-inlines-hidden. llvm-svn: 273133
-rw-r--r--llvm/lib/Analysis/LoopPass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/LoopPass.cpp b/llvm/lib/Analysis/LoopPass.cpp
index 5f9d326d121..84a5611e34d 100644
--- a/llvm/lib/Analysis/LoopPass.cpp
+++ b/llvm/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"
OpenPOWER on IntegriCloud