Debugging LLVM IR code

Hello Clangers,

I’ve a Instrumentation pass code which add some more checks (or statements) into the entry block (normal C functions). How could I debug it or add some debug statements in IR code to make sure if the control is flowing through that path or not.

Thanks and Regards.