summaryrefslogtreecommitdiff
path: root/tools/llvm-prof
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-11-01 15:20:19 +0000
committerDan Gohman <gohman@apple.com>2009-11-01 15:20:19 +0000
commitb2fae7560dcac617d40a83c73c976d4045bfb97f (patch)
tree8d0dfb9a33f9506f72f23ad4bc48cba9e3f09888 /tools/llvm-prof
parentb2710041fbed34ae888a6fed4172aea92bced1b5 (diff)
downloadllvm-b2fae7560dcac617d40a83c73c976d4045bfb97f.tar.gz
llvm-b2fae7560dcac617d40a83c73c976d4045bfb97f.tar.bz2
llvm-b2fae7560dcac617d40a83c73c976d4045bfb97f.tar.xz
Remove the #include of Pass.h from PassManager.h. This breaks a significant
#include dependency, as frontends commonly pull in PassManager.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85714 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-prof')
-rw-r--r--tools/llvm-prof/llvm-prof.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/llvm-prof/llvm-prof.cpp b/tools/llvm-prof/llvm-prof.cpp
index 88adeb43e6..9b728f7e92 100644
--- a/tools/llvm-prof/llvm-prof.cpp
+++ b/tools/llvm-prof/llvm-prof.cpp
@@ -17,6 +17,7 @@
#include "llvm/LLVMContext.h"
#include "llvm/Module.h"
#include "llvm/PassManager.h"
+#include "llvm/Pass.h"
#include "llvm/Assembly/AsmAnnotationWriter.h"
#include "llvm/Analysis/ProfileInfo.h"
#include "llvm/Analysis/ProfileInfoLoader.h"