We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5c3a93 commit c598651Copy full SHA for c598651
llvm/include/llvm/Passes/TargetPassRegistry.inc
@@ -80,8 +80,10 @@ if (PopulateClassToPassNames) {
80
#define ADD_PASS_WITH_PARAMS(NAME, CREATE_PASS, PARSER) \
81
if (PassBuilder::checkParametrizedPassName(Name, NAME)) { \
82
auto Params = PassBuilder::parsePassParameters(PARSER, Name, NAME); \
83
- if (!Params) \
+ if (!Params) { \
84
+ errs() << NAME ": " << toString(Params.takeError()) << '\n'; \
85
return false; \
86
+ } \
87
PM.addPass(CREATE_PASS(Params.get())); \
88
return true; \
89
}
0 commit comments