summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
AgeCommit message (Collapse)Author
2007-05-01implement materializeModule, force deallocation of vector memory when weChris Lattner
are done with them, start implementing ParseFunctionBody llvm-svn: 36617
2007-05-01The stream to read from is now an ivarChris Lattner
llvm-svn: 36615
2007-05-01implement scafolding for lazy deserialization of function bodiesChris Lattner
llvm-svn: 36614
2007-04-29Implement visibility checking during linking. Also implement protectedAnton Korobeynikov
visibility support for bitcode. llvm-svn: 36577
2007-04-29Switch the bitcode reader interface to take a MemoryBuffer instead of knowingChris Lattner
anything about disk I/O itself. This greatly simplifies its interface - eliminating the need for the ReaderWrappers.cpp file. This adds a new option to llvm-dis (-bitcode) which instructs it to read the input file as bitcode. Until/unless the bytecode reader is taught to read from MemoryBuffer, there is no way to handle stdin reading without it. I don't plan to switch the bytecode reader over, I'd rather delete it :), so the option will stay around temporarily. llvm-svn: 36554
2007-04-28This is not "FIXME" anymoreAnton Korobeynikov
llvm-svn: 36541
2007-04-26move some code around, fix a bug in the reader reading globalinits (whichChris Lattner
I just introduced), stub out function reading, purge aggregate values from the value table before reading functions. llvm-svn: 36463
2007-04-26add bitcode alias supportChris Lattner
llvm-svn: 36461
2007-04-24ensure that every error return sets a message (and goes through Error, forChris Lattner
easy breakpointing). Fix bugs reading constantexpr geps. We now can disassemble kc++ global initializers. llvm-svn: 36398
2007-04-24fix memory leakChris Lattner
llvm-svn: 36397
2007-04-24implement reading and writing of constant exprs.Chris Lattner
llvm-svn: 36394
2007-04-24implement support for reading aggregate constants, including handling forwardChris Lattner
constant references, etc. llvm-svn: 36391
2007-04-24add supprot for FP constants, wide integers, and fix the encoding of MININTChris Lattner
llvm-svn: 36390
2007-04-24read basic constants: null, undef, integers <= 64bitsChris Lattner
llvm-svn: 36389
2007-04-24move check to the right place :)Chris Lattner
llvm-svn: 36386
2007-04-24track global initsChris Lattner
llvm-svn: 36385
2007-04-23Read global symtabChris Lattner
llvm-svn: 36378
2007-04-23implement reading of abbrevs, and writing of abbreviated global varrs.Chris Lattner
llvm-svn: 36367
2007-04-23first part of implementation of abbrevs. The writer isn't fully there yet ↵Chris Lattner
and the reader doesn't handle them at all yet. llvm-svn: 36363
2007-04-22Initial support for reading bitcode files. They currently only read types,Chris Lattner
the type symtab, and global/function protos, and are missing the important size optimization, but it is a place to start. llvm-svn: 36330