We tried gcc's profiling options on an Audio Unit that we compiled under gcc4.2/MacOS. (Technically it is a library.) The problem is that we don't have control over the executable that is loading the library. Ergo we can only link the library with the profiling option but not the executable.
How (if at all) can we use profile guided optimization under these circumstances?
Cheers!
Can't you write a custom executable to load (and test) the library? That would be under your control and could be built with profiling.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With