<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Courier; min-height: 16px; "><font class="Apple-style-span" color="#000000" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Courier; ">I for one would really like to see object generation become a fully</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 13px/normal Courier; ">working feature of the llvm toolchain.</div></blockquote><div><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 13px;"><br></span></font></div></div></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Actually, a related thing I've been curious about is the difference between the output of the llvm-gcc-4.2 front end on the Mac and a regular plain vanilla bit code file.</div><div>The former file can be named a .o and the platform linker now knows how to do LTO while linking against other BC-based and native files.  </div><div>These are clearly slightly different to native Mach-O obj files, and using a hex editor you can see the bit code enclosed within them - presumably they use the Mach-O envelope but store the BC code in a different section to where native code would be.</div><div>Not sure if/where the exact form of the Mach-O file that carries bit code is documented.</div><div><br></div><div>A cool thing IMO would be a tool that wrapped an ordinary BC file in whatever envelope the llvm-gcc-4.2 tool puts around the bitcode, in addition to the method to generate a Mach-O file with the native code.</div><div><br></div><div>-- lwe</div><div><br></div><div><br></div></div></body></html>