Displaying 1 result from an estimated 1 matches for "someflat".
Did you mean:
someflag
2019 Sep 08
2
New PM, opt and command line options
...manager and I've noticed
that the command line options are no longer registered when using
`-load-pass-plugin` (the new PM flag) to load the plugins in opt.
Everything is back to normal when loading via `-load` (the legacy PM).
For example, given this CL option:
static cl::opt<bool> SomeFlat("some-flag", cl::init(false),
cl::desc("set some flag"));
I can see that it's being registered:
opt -load MyPlugin -help | grep some-flag
-some-flag - set some flag
However, this returns nothing:
opt -load-pass-plugin -help | gr...