<div>
            <div>
                <span>Thanks</span></div><div><span><br></span></div><div><span>I'll be waiting for it, then.<br>
                </span>
                <span><br></span></div><div><span>Regards,<br><br>  Filipe Cabecinhas<br><br></span>
                
                <p style="color: #a0a0a0;">On Thursday, January 20, 2011 at 06:08, Michael Spencer wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div>On Wed, Jan 19, 2011 at 6:00 PM, Filipe Cabecinhas <<a href="mailto:filcab@gmail.com">filcab@gmail.com</a>> wrote:<br><blockquote type="cite"><div>Hi,<br>I want to extend llvm-mc to make it disassemble whole files, instead of<br>sequences of bytes.<br>Most of the work to read from a Mach-O file is already done by lldb, but<br>that is outside llvm's repository and not useful to llvm-mc (as far as I<br>know).<br>Is anyone working on something similar?<br>Is it desirable to have llvm-mc disassemble whole files? Or should I create<br>another project for that?<br>How do you suggest reading the files? Re-implementing the reading stuff?<br>"Steal" from lldb (I don't know how self-contained the plug-in may be… It<br>could require a big part of lldb)? Any other ideas?<br>Regards,<br><br>  Filipe Cabecinhas<br></div></blockquote><br>I'm working on object file support, and am just about to commit<br>llvm-objdump which does just what you want. It is separate from, but<br>uses, MC.<br><br>I gave a talk at the last conference which explains the architecture<br>and future plans: <a href="http://llvm.org/devmtg/2010-11/">http://llvm.org/devmtg/2010-11/</a><br><br>- Michael Spencer<br></div></div></span>
                
                
                
                
                </blockquote>
                
                <div>
                    <br>
                </div>
            </div>
        </div>