Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove vim settings from source code; people should use llvm/utils/vim/vimrc | Misha Brukman | 2005-05-05 | 1 | -1/+0 |
| | | | | llvm-svn: 21704 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -15/+15 |
| | | | | llvm-svn: 21417 | ||||
* | This mega patch converts us from using Function::a{iterator|begin|end} to | Chris Lattner | 2005-03-15 | 1 | -4/+4 |
| | | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597 | ||||
* | Make the check for global variables the same as the one for functions. In | Reid Spencer | 2005-02-13 | 1 | -1/+1 |
| | | | | | | | | both cases they are looking for non-external variables/functions that do not have internal linkage. Using "!isExternal()" is a little more understandable than "hasInitializer()" llvm-svn: 20155 | ||||
* | Do not put internal symbols into the symbol table. This shrinks the symbol | Chris Lattner | 2005-02-13 | 1 | -21/+11 |
| | | | | | | | | table for archives in common cases, and prevents trying to resolve a external reference with an internal reference. This shrinks the libpython.a symbol table from 126302 to 19770 bytes. llvm-svn: 20151 | ||||
* | For PR351: | Reid Spencer | 2004-12-21 | 1 | -10/+7 |
| | | | | | | | Remove unix specific code (use of errno and read) from the reader. Thanks to Jeff Cohen for pointing this out. llvm-svn: 19081 | ||||
* | Remove the #include of llvm/Config/unistd.h as it is no longer needed. | Reid Spencer | 2004-12-20 | 1 | -1/+0 |
| | | | | llvm-svn: 19067 | ||||
* | For PR351: | Reid Spencer | 2004-12-13 | 1 | -20/+6 |
| | | | | | | | | Use sys::MappedFile instead of ReadFileIntoAddressSpace and UnmapFileFromAddressSpace. sys::MappedFile has the nice property that it cleans up after itself so exception handling can be removed. llvm-svn: 18902 | ||||
* | Path::get -> Path::toString | Reid Spencer | 2004-12-11 | 1 | -1/+2 |
| | | | | llvm-svn: 18785 | ||||
* | Fix a comment to imply the correct semantics. | Reid Spencer | 2004-11-22 | 1 | -1/+1 |
| | | | | llvm-svn: 18097 | ||||
* | Per code review:\ | Reid Spencer | 2004-11-16 | 1 | -8/+12 |
| | | | | | | | * Get rid of memory leaks on exception \ * Provide better comments of how the memory handling works llvm-svn: 17876 | ||||
* | Changes necessary to enable linking of archives without LLVM symbol tables. | Reid Spencer | 2004-11-15 | 1 | -7/+8 |
| | | | | llvm-svn: 17811 | ||||
* | Add wrappers to get defined symbols from bytecode | Reid Spencer | 2004-11-14 | 1 | -19/+48 |
| | | | | llvm-svn: 17770 | ||||
* | Implement the GetBytecodeSymbols interface function to extract just the | Reid Spencer | 2004-11-06 | 1 | -0/+39 |
| | | | | | | externally visible defined symbols from a bytecode file. llvm-svn: 17503 | ||||
* | Unbreak doxygen, according to Reid. | Misha Brukman | 2004-09-12 | 1 | -2/+4 |
| | | | | llvm-svn: 16298 | ||||
* | Fix code spacing/alignment | Misha Brukman | 2004-09-12 | 1 | -6/+4 |
| | | | | llvm-svn: 16297 | ||||
* | Change interface to use correct typedef so it will always compile. | Reid Spencer | 2004-09-11 | 1 | -1/+1 |
| | | | | llvm-svn: 16281 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -3/+3 |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | ||||
* | Add a wrapper for extraction of the dependent libraries from a bytecode | Reid Spencer | 2004-08-24 | 1 | -0/+14 |
| | | | | | | file. llvm-svn: 16037 | ||||
* | Two Changes: | Reid Spencer | 2004-08-21 | 1 | -14/+18 |
| | | | | | | | | - Pass the output stream to the analyzer so it can write its output there directly instead of buffering it. - Don't pass a boolean to ParseBytecode because its not needed any more. llvm-svn: 15983 | ||||
* | Turn a use of intptr_t into a reinterpret_cast<uint64_t> instead to get | Reid Spencer | 2004-08-04 | 1 | -1/+1 |
| | | | | | | rid of compilation warnings on some platforms. llvm-svn: 15512 | ||||
* | Finalize bytecode dumping. The "handleFinish" method was getting called | Reid Spencer | 2004-07-05 | 1 | -3/+3 |
| | | | | | | | | too soon so the function data was not getting dumped (it was generated after the call handleFinish). Also cleaned up the output format for proper indentation. llvm-svn: 14627 | ||||
* | Remove tabs. Move function declaration to Reader.h where it belongs. | Reid Spencer | 2004-07-04 | 1 | -8/+4 |
| | | | | llvm-svn: 14601 | ||||
* | Adjustments to allow Bytecode Reading to support the BytecodeHandler | Reid Spencer | 2004-06-29 | 1 | -15/+68 |
| | | | | | | interface which is called by the reader if a BytecodeHandler is provided. llvm-svn: 14493 | ||||
* | 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 |