[llvm-dev] ELF object writing from assembly file
Sky Flyer via llvm-dev
llvm-dev at lists.llvm.org
Tue Oct 13 02:21:31 PDT 2015
(corrector) I think for reading obj file it should be:
*llvm-readobj -arch=test a.o*
On Tue, Oct 13, 2015 at 11:19 AM, Sky Flyer <skylake007 at googlemail.com>
> 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*
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev