On Feb 9, 2008, at 12:49 PM, Shantonu Sen wrote: > One approach that would probably make everyone happy is to teach "llc" > how to output the original bitcode stream in its own section/segment > in the native assembly stream, and teach the LLVM libraries how to > extract this encapsulated bitcode data for Mach-O, ELF, etc., in the > event that the input file is not a bitcode file directly.
It's pretty easy to get the .bc file encoded into the .s file in some magic section, however, it would be harder to teach all the llvm tools about native .o files etc, -Chris _______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
