aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/LoopInfo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h
index be85e88..73f9719 100644
--- a/include/llvm/Analysis/LoopInfo.h
+++ b/include/llvm/Analysis/LoopInfo.h
@@ -110,9 +110,15 @@ public:
//
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
+ static void stub(); // Noop
private:
void Calculate(const DominatorSet &DS);
Loop *ConsiderForLoop(BasicBlock *BB, const DominatorSet &DS);
};
+
+// Make sure that any clients of this file link in PostDominators.cpp
+static IncludeFile
+LOOP_INFO_INCLUDE_FILE((void*)&LoopInfo::stub);
+
#endif