[llvm-dev] ELF object writing from assembly file

Sky Flyer via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 13 02:19:37 PDT 2015


Hi all,

I have implemented AsmParser, CodeEmitter, and ELF object writing.
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?

I tried this commands, but it didn't work corrctly:

*llvm-mc -filetype=obj -arch=test file.s -o=a.o*

and I think after an obj file is built, I should use this command but I am
not sure!

*llvm-objdump -arch=test a.o*

Cheers,
ES
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151013/082784f9/attachment.html>


More information about the llvm-dev mailing list