This content has been marked as final. Show 3 replies
The way that -xipo works is that at link time it recompiles all the object files doing inlining and optimisation between the files at that point. This will have the effect of undoing the dtrace -G processing, leaving just the raw dtrace function calls.
You are using archive libraries so one workaround is to use the flag -xipo_archive=... to either none - meaning don't process the archive libraries or readonly which will inline code from the archive libraries but won't inline code into the archive libraries.
Thanks for the follow-up. Am I right to guess that the behaviour for -xipo=2 has changed somewhere since Sun Studio 12?
Yes, the default value for -xipo_archive changed.