<div dir="ltr">(corrector) I think for reading obj file it should be:<br><strong class="">llvm-readobj -arch=test  a.o</strong><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 13, 2015 at 11:19 AM, Sky Flyer <span dir="ltr"><<a href="mailto:skylake007@googlemail.com" target="_blank">skylake007@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hi all,<br><br></div>I have implemented AsmParser, CodeEmitter, and ELF object writing.<br></div>AsmParser and CodeEmitter are tested and working fine, but I would like to see ELF objects build out of a parsed asm file. Is that possible?<br><br></div>I tried this commands, but it didn't work corrctly:<br><br><b>llvm-mc -filetype=obj -arch=test file.s -o=a.o</b><br><br></div>and I think after an obj file is built, I should use this command but I am not sure!<br></div><br></div><b>llvm-objdump -arch=test a.o</b><br><br></div>Cheers,<br></div>ES<br></div>
</blockquote></div><br></div>