[LLVMdev] How to run passes 'addPassesToEmitMC' from the command line?

Tim Northover t.p.northover at gmail.com
Sun Feb 9 03:36:07 PST 2014


> Any way to do the same from the command line?
> 'llc' brings module to .s or .o, but not to relocatable ELF object as this
> C++ does.

I'm not sure I understand the distinction. A .o file is a relocatable
ELF object (depending on your platform, obviously). What differences
between the output of "llc -filetype=obj" and the MCJIT route are
causing you problems?

Tim.



More information about the llvm-dev mailing list