There some cases where I will need to emit some stubs and I only find out about this while I'm compiling a function. Typically a function pass cannot create new functions; only a module pass can do that. What would be the correct way to do this? TIA. Reed