summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/ReaderWrappers.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not leak the ModuleProvider if releaseModule() throws.Chris Lattner2003-10-041-11/+6
| | | | llvm-svn: 8847
* Define the instance variable Buffer, not the automatic variable Buffer.Chris Lattner2003-09-251-3/+2
| | | | | | This was causing us to munmap random stuff, which is obviously bad. llvm-svn: 8709
* Fix alignment problemChris Lattner2003-09-241-1/+1
| | | | llvm-svn: 8707
* Actually assign the string correctly through the std::string pointer.Misha Brukman2003-09-241-2/+2
| | | | llvm-svn: 8704
* * Eliminate BytecodeBufferReader::Length member variableMisha Brukman2003-09-241-26/+7
| | | | | | | * Kill unused ALIN_PTRS #define * Set the error string if user passed it in to be compatible with former API llvm-svn: 8701
* Added code that ensures that we pass the beginning of the data buffer toJohn Criswell2003-09-231-1/+1
| | | | | | the parsing routines regardless of whether the buffer is re-aligned or not. llvm-svn: 8693
* * Group class definitions & implementations togetherMisha Brukman2003-09-231-58/+110
| | | | | | | | * Make sure we align the buffer we're given * Do not let exceptions propagate when the caller asks for a Module* * Add doxygenified comments to wrapper functions llvm-svn: 8682
* * Constantify arguments to copy functionMisha Brukman2003-09-231-8/+4
| | | | | | * Stop using a #define, make it an inline if statement llvm-svn: 8678
* Added file header comment.Misha Brukman2003-09-221-0/+7
| | | | llvm-svn: 8675
* * Cleaned up code:Misha Brukman2003-09-221-0/+170
- no more passing around a string pointer to set errors - no more returning booleans and checking for errors, we use C++ exceptions * Broke functionality into 2 new classes, one reads from file, one from a stream * Implemented lazy function streaming - the parser can read in a function at-a-time llvm-svn: 8671
OpenPOWER on IntegriCloud