Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the new FileUtilities.h API for mapping a file into an address | Chris Lattner | 2004-05-28 | 1 | -18/+6 |
| | | | | | | space llvm-svn: 13864 | ||||
* | Use new getFileSize function instead of sys/stat.h directly. | Chris Lattner | 2003-12-30 | 1 | -7/+4 |
| | | | | llvm-svn: 10650 | ||||
* | Factor FDHandle out of the bytecode reader into the FileUtilities.h support | Chris Lattner | 2003-12-29 | 1 | -16/+4 |
| | | | | | | routines. llvm-svn: 10642 | ||||
* | Throw better error messages, by calling strerror(errno) when we | Brian Gaeke | 2003-12-12 | 1 | -4/+9 |
| | | | | | | get an error inside the bytecode reader. llvm-svn: 10415 | ||||
* | Fine grainify namespacification, #include file that defines the interface! | Chris Lattner | 2003-11-19 | 1 | -9/+11 |
| | | | | llvm-svn: 10081 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -2/+5 |
| | | | | llvm-svn: 9903 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | * New revised variable argument handling support | Chris Lattner | 2003-10-18 | 1 | -8/+89 |
| | | | | | | | * More dense bytecode encoding for varargs calls (like printf) * Eliminated the extremely old bytecode format. rev #0 is now 1.0 llvm-svn: 9220 | ||||
* | Add separator between different types of readers. | Misha Brukman | 2003-10-16 | 1 | -0/+1 |
| | | | | llvm-svn: 9183 | ||||
* | Destroy allocated resources on exception. | Misha Brukman | 2003-10-08 | 1 | -3/+13 |
| | | | | llvm-svn: 8969 | ||||
* | All of our supported operating systems (so far) and FreeBSD technically | Brian Gaeke | 2003-10-06 | 1 | -0/+1 |
| | | | | | | want you to include <sys/stat.h> for fstat(), struct stat, and friends. llvm-svn: 8887 | ||||
* | Rename AbstractModuleProvider -> ModuleProvider, to match the header file name, | Chris Lattner | 2003-10-04 | 1 | -6/+4 |
| | | | | | | | and because, while the class used by the interface is abstract, the actual concept is not. llvm-svn: 8850 | ||||
* | Do not leak the ModuleProvider if releaseModule() throws. | Chris Lattner | 2003-10-04 | 1 | -11/+6 |
| | | | | llvm-svn: 8847 | ||||
* | Define the instance variable Buffer, not the automatic variable Buffer. | Chris Lattner | 2003-09-25 | 1 | -3/+2 |
| | | | | | | This was causing us to munmap random stuff, which is obviously bad. llvm-svn: 8709 | ||||
* | Fix alignment problem | Chris Lattner | 2003-09-24 | 1 | -1/+1 |
| | | | | llvm-svn: 8707 | ||||
* | Actually assign the string correctly through the std::string pointer. | Misha Brukman | 2003-09-24 | 1 | -2/+2 |
| | | | | llvm-svn: 8704 | ||||
* | * Eliminate BytecodeBufferReader::Length member variable | Misha Brukman | 2003-09-24 | 1 | -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 to | John Criswell | 2003-09-23 | 1 | -1/+1 |
| | | | | | | the parsing routines regardless of whether the buffer is re-aligned or not. llvm-svn: 8693 | ||||
* | * Group class definitions & implementations together | Misha Brukman | 2003-09-23 | 1 | -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 function | Misha Brukman | 2003-09-23 | 1 | -8/+4 |
| | | | | | | * Stop using a #define, make it an inline if statement llvm-svn: 8678 | ||||
* | Added file header comment. | Misha Brukman | 2003-09-22 | 1 | -0/+7 |
| | | | | llvm-svn: 8675 | ||||
* | * Cleaned up code: | Misha Brukman | 2003-09-22 | 1 | -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 |