summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/ReaderWrappers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Switch the bitcode reader interface to take a MemoryBuffer instead of knowingChris Lattner2007-04-291-98/+0
| | | | | | | | | | | | | | 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
* ensure that every error return sets a message (and goes through Error, forChris Lattner2007-04-241-0/+1
| | | | | | | | | easy breakpointing). Fix bugs reading constantexpr geps. We now can disassemble kc++ global initializers. llvm-svn: 36398
* Initial support for reading bitcode files. They currently only read types,Chris Lattner2007-04-221-0/+97
the type symtab, and global/function protos, and are missing the important size optimization, but it is a place to start. llvm-svn: 36330
OpenPOWER on IntegriCloud