The Open-64 compiler does inline from one source file to another. It does so by storing the intermediate form of the compiled object inside the.o file as another section, instead of say,.text. Then at link time, the linker calls back out to the compiler.
The Open-64 compiler does inline from one source file to another. It does so by storing the intermediate form of the compiled object inside the .o file as another section, instead of say, .text. Then at link time, the linker calls back out to the compiler.
The flag is -IPA, and it is done all the time.
Check out the Open-64 project.