[LLVMdev] Newbie Enquiry
Misha Brukman
brukman at uiuc.edu
Wed Aug 18 15:40:11 PDT 2004
On Thu, Aug 19, 2004 at 10:35:02AM +1200, Peter Ashford wrote:
> Does that mean the front end must decide between emiting bytecode for
> interpretting/JITing and LLVM assembly for native compilation? You
> can't emit the one kind of output for either end target (interpretted
> bytecode or native compilation)?
Not at all, there's only one version of LLVM IR, but it can appear in
binary bytecode or textual form (human-readable). They have a
one-to-one correlation.
There is an assembler (llvm-as) and disassembler (llvm-dis) for
translating between the two formats.
--
Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
More information about the llvm-dev
mailing list