[LLVMdev] Tool to convert to backend assembly instruction file
Chris Cadwallader
ccadwallader at arxan.com
Fri Mar 8 10:50:38 PST 2013
Teja,
Your mention of .s being bytecode confuses me, but if you're asking how to lower a bitcode (.bc) or IR file (.ll) to assembly (.s) than llc is the tool you are looking for.
llc -O2 path/to/bitcode/input.bc -o output.s
-Chris
On Mar 7, 2013, at 10:39 PM, teja tamboli wrote:
> Hello,
>
> I am looking for tool to convert file from either (.s) bytecode or (.bc) bitcode to .asm file. Basically assembly instruction file for my x86 backend. I think so we can use llvm-objdump. However I am not able to figure out its exact options. Could you please tell me how to do that?
>
> --
> Thanks,
> Teja
> _______________________________________________
> 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