[LLVMdev] hexcode from llvm

Reid Kleckner rnk at mit.edu
Wed May 19 21:16:29 PDT 2010


Wild guess from microcontroller-land: Do you mean you need an Intel
HEX file?  LLVM doesn't know anything about that.

Reid

On Wed, May 19, 2010 at 5:53 PM, Bill Wendling <wendling at apple.com> wrote:
> On May 19, 2010, at 12:01 PM, JayaSus wrote:
>
>>
>> Hi all,
>>
>> I am doing emulation on a custom processor. For this I need hexcode for the
>> C application program . Is there any llvm command/function that can spit out
>> the hexcode just like objdump in gcc?
>>
> Hi JayaSus,
>
> I'm confused by your question. Do you mean the LLVM IR "object code" or the resulting native object code generated by the assembler (after code generation) for the target platform? If the latter, then your objdump tools should work with that.
>
> -bw
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list