PGO in jit

Hi,

Is it possible to use PGO in orc jit? I want to compile some module with instrumentation, collect statistics and then compile this module again without instrumentation using collected data, within same process.

What is the proper way to do it?

Thanks,

Ivan