LLVMdev Digest, Vol 83, Issue 33

I have a few pass managers, but only one of them has been initialized with addPassesToEmitCode, how do I find how many passes are added to a function pass manager ?

Thank you,

Not sure there's any particular way to do it. Any reason you want to?