aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ProfileInfoLoaderPass.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-01-08 22:01:16 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-01-08 22:01:16 +0000
commit534927d82de6d1be0f6e939263eeb309ad135661 (patch)
tree3346932409c56df61b8634eb01c196abca355e3f /lib/Analysis/ProfileInfoLoaderPass.cpp
parentc82a6c883ed03f32c2e3724a68c9f24923131660 (diff)
Add even more missing createXxxPass functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19402 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r--lib/Analysis/ProfileInfoLoaderPass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp
index 333e9e06f7..5a57c54f1e 100644
--- a/lib/Analysis/ProfileInfoLoaderPass.cpp
+++ b/lib/Analysis/ProfileInfoLoaderPass.cpp
@@ -15,6 +15,7 @@
#include "llvm/BasicBlock.h"
#include "llvm/InstrTypes.h"
#include "llvm/Pass.h"
+#include "llvm/Analysis/Passes.h"
#include "llvm/Analysis/ProfileInfo.h"
#include "llvm/Analysis/ProfileInfoLoader.h"
#include "llvm/Support/CommandLine.h"
@@ -54,6 +55,7 @@ namespace {
RegisterAnalysisGroup<ProfileInfo, LoaderPass> Y;
} // End of anonymous namespace
+ModulePass *llvm::createLoaderPass() { return new LoaderPass(); }
/// createProfileLoaderPass - This function returns a Pass that loads the
/// profiling information for the module from the specified filename, making it