File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -682,9 +682,7 @@ class PassBuilder {
682
682
// / PassManagers and populate the passed ModulePassManager.
683
683
void registerParseTopLevelPipelineCallback (
684
684
const std::function<bool (ModulePassManager &, ArrayRef<PipelineElement>,
685
- bool VerifyEachPass, bool DebugLogging)> &C) {
686
- TopLevelPipelineParsingCallbacks.push_back (C);
687
- }
685
+ bool VerifyEachPass, bool DebugLogging)> &C);
688
686
689
687
// / Add PGOInstrumenation passes for O0 only.
690
688
void addPGOInstrPassesForO0 (ModulePassManager &MPM, bool DebugLogging,
Original file line number Diff line number Diff line change @@ -2835,3 +2835,9 @@ bool PassBuilder::isAnalysisPassName(StringRef PassName) {
2835
2835
#include " PassRegistry.def"
2836
2836
return false ;
2837
2837
}
2838
+
2839
+ void PassBuilder::registerParseTopLevelPipelineCallback (
2840
+ const std::function<bool (ModulePassManager &, ArrayRef<PipelineElement>,
2841
+ bool VerifyEachPass, bool DebugLogging)> &C) {
2842
+ TopLevelPipelineParsingCallbacks.push_back (C);
2843
+ }
You can’t perform that action at this time.
0 commit comments