mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
expose this pass to both opt and analyze
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20672 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
89976fff63
commit
41b162faba
@ -49,8 +49,9 @@ namespace {
|
||||
virtual bool runOnModule(Module &M);
|
||||
};
|
||||
|
||||
RegisterOpt<LoaderPass>
|
||||
X("profile-loader", "Load profile information from llvmprof.out");
|
||||
RegisterPass<LoaderPass>
|
||||
X("profile-loader", "Load profile information from llvmprof.out",
|
||||
PassInfo::Analysis|PassInfo::Optimization);
|
||||
|
||||
RegisterAnalysisGroup<ProfileInfo, LoaderPass> Y;
|
||||
} // End of anonymous namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user