bytecode documentation?

Is there any documentation of the llvm bytecode format? I looked
around the website but didn't see any; did I miss some obvious
document?

Thanks a bunch.
--Grant

Dear Mr. Gould,

Is there any documentation of the llvm bytecode format? I looked
around the website but didn't see any; did I miss some obvious
document?

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.

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.

Sorry we don't have anything better right now.

Thanks a bunch.
--Grant
_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev

Regards,

John T. Criswell

"John T. Criswell" <criswell@cs.uiuc.edu> writes:

Is there any documentation of the llvm bytecode format? I looked
around the website but didn't see any; did I miss some obvious
document?

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.
--Grant