[LLVMdev] bytecode version

Reid Spencer reid at x10sys.com
Wed Oct 12 13:49:48 PDT 2005


Which bytecode files? Perhaps the ones in the runtime library? If these were 
built with Bytecode V6, then the reader (V5) will not read them.

Chris Lattner wrote:
> On Wed, 12 Oct 2005 shding at mtu.edu wrote:
> 
>>   For some reason, I changed  the files /ByteCode/Writer/Writer.cpp and
>> /ByteCode/Reader/Reader.cpp and I introduced an new version number 6.
>> Now I replaced these two changed files with the original ones that are
>> version 5. And I rebuild the llvm compiler. What make me mad is that
>> the bytecode produced now is still version 6! Of course the reader
>> cannot recognize it because the current reader only recognize the
>> version 5 and before.
>>   Did I miss something here? I don't understand how can the current
>> compiler  output a version 6 bytecode after I rebuild it?
>>   Thanks!
> 
> 
> My guess is that something didn't get rebuilt.  The writer in CVS 
> definitely writes Version #5.
> 
> -Chris
> 




More information about the llvm-dev mailing list