I forgot to do this initially, and added when I saw this fail in
a no-asserts build, but managed to loose the diff from the actual patch
that got submitted. Very sorry.
llvm-svn: 277562
MPM.addPass(createModuleToFunctionPassAdaptor(std::move(LateFPM)));
}
-#ifndef NDEBUG
static bool isModulePassName(StringRef Name) {
// Manually handle aliases for pre-configured pipeline fragments.
if (Name.startswith("default") || Name.startswith("lto"))
return false;
}
-#endif
static bool isCGSCCPassName(StringRef Name) {
// Explicitly handle pass manager names.