Hello, I have been working on my PhD thesis and I want to focus on the Go language. I know Ian Taylor has done tons of work regarding the Go frontend for gcc. Likewise, I know gcc implements SSA and even link-time optimization. For my specific research I will need to do some intermodule analysis. I know gcc has link-time optimization, however I might, for my purposes, need to add additional information to the object files that would allow my specific optimization of a Go program to aid other compiled modules/translation-units. Ideally, my implementation, I would hope, would translate nice to gogo then to GIMPLE. In the short term I would like to use this intermodule analysis to give enough information to the compiler so that when a module/object-file is recompiled the changed routines and dependent routines would be the only aspects recompiled, instead of having to recompile an entire object file each time a small change is made.
Thoughts? Is this even feasible? -Matt