[LLVMdev] bytecode documentation?
ggould at alum.mit.edu
Thu Jan 8 15:27:01 PST 2004
"John T. Criswell" <criswell at cs.uiuc.edu> writes:
> On Thu, 8 Jan 2004, Grant Gould wrote:
>> Is there any documentation of the llvm bytecode format? I looked
>> around the website but didn't see any; did I miss some obvious
> At this time, we do not have any documentation on the bytcode format. I
> believe one LLVM user was working on such a document at one time, but if so,
> it is not complete.
Ah, I was afraid that might be the case.
> One option (although not ideal) is to examine the source code. I believe
> llvm/lib/Bytecode/Reader is where you would want to start.
> If all you need to do is read LLVM bytecode, the bcreader library (in
> llvm/lib/Bytecode/Reader) should suffice. If you want to extend the format,
> then more serious source code reading will be required.
For the moment all I care about is reading it, so I can probably just
glean what I need from the source.
Thanks for you time.
More information about the llvm-dev