<div dir="auto"><div style="font-family:sans-serif;font-size:12.8px" dir="auto"><div style="width:380px;margin:16px 0px"><div>Hi, I am adapting a pass plugin for opt to the new Pass Manager and everything is fine but the arguments that this pass requires. The next line works with the legacy PM and --xxx (or whatever) is understood:<br>  cl::opt<string> OutputFilename("xxx", cl::desc("This is a parameter"), cl::value_desc("xxx"));<br>But this is not the case for the new PM. What can I do?<br>I have read an answer to a similar question that suggests to build the pass inside LLVM, but there should be a better way to accept<br>arguments. Other than that, I can't find anything about this issue.<br></div></div><div style="height:0px"></div></div><br></div>