diff options
Diffstat (limited to 'llvm/lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r-- | llvm/lib/Analysis/ProfileInfoLoaderPass.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp index 333e9e06f78..5a57c54f1ec 100644 --- a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/llvm/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 |