summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/Linker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make comments and code for QuietWarnings and QuietErrorsDan Gohman2008-10-251-1/+1
| | | | | | actually correspond to what their names suggest. llvm-svn: 58146
* Change the MemoryBuffer::getFile* methods to take just a pointer to theChris Lattner2008-04-011-3/+3
| | | | | | | | start of a filename, not a filename+length. All clients can produce a null terminated name, and the system api's require null terminated strings anyway. llvm-svn: 49041
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* eliminate residual cruft related to recognizing bytecodeGabor Greif2007-07-061-2/+0
| | | | | | | files. bitcode files are the only LLVM format left. llvm-svn: 37945
* Here is the bulk of the sanitizing.Gabor Greif2007-07-051-3/+3
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* switch this to bitcode instead of bytecodeChris Lattner2007-05-061-14/+5
| | | | llvm-svn: 36867
* add bitcode supportChris Lattner2007-05-061-3/+21
| | | | llvm-svn: 36855
* push bytecode decompressor out through APIs. Now the bytecode readerChris Lattner2007-02-071-1/+4
| | | | | | | | | | | | | | | | | | | | api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer, std::string* ErrMsg = 0, ///< Optional error message holder BytecodeHandler* H = 0 ///< Optional handler for reader events ); This is ugly, but allows a client to say: getBytecodeModuleProvider("foo", 0); If they do this, there is no dependency on the compression libraries, saving codesize. llvm-svn: 34012
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-3/+3
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Removed #include <iostream> and replaced with llvm_* streams.Bill Wendling2006-11-271-11/+7
| | | | llvm-svn: 31936
* Remove a redundant syscall.Chris Lattner2006-07-281-25/+21
| | | | llvm-svn: 29405
* Fixed style of curly brace. No functionality changes.John Criswell2006-01-171-2/+1
| | | | llvm-svn: 25414
* Be a little more explanatory in a comment.Reid Spencer2006-01-101-1/+1
| | | | llvm-svn: 25168
* Adjust the constructor to the Linker class to take an argument that namesReid Spencer2005-12-131-2/+2
| | | | | | | | the module being constructed. This is used to correctly name the module. Previously the name of the linker tool was used which produces confusing output when the module identifier is used in an error message. llvm-svn: 24699
* For PR495:Reid Spencer2005-07-071-17/+25
| | | | | | | | | | | | | | | | | | | | | Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349
* For PR495:Reid Spencer2005-07-071-1/+1
| | | | | | | | | | | Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. llvm-svn: 22345
* Remove trailing whitespaceMisha Brukman2005-04-211-14/+14
| | | | llvm-svn: 21422
* Add support for ".so" files compiled with LLVM which contain LLVM bytecode.Chris Lattner2005-02-191-1/+3
| | | | llvm-svn: 20253
* Fix a compile error. config.h is now needed because DataTypes.h doesn'tReid Spencer2004-12-161-0/+1
| | | | | | include it any more. llvm-svn: 18993
* * Fix header block.Reid Spencer2004-12-131-8/+8
| | | | | | | | * Fix loop style per standards * Don't create a new Module when the Linker's module is released. * Add/fix function comments. llvm-svn: 18871
* This file contains basic Linker facilities needed by all toolsReid Spencer2004-12-131-0/+166
llvm-svn: 18860
OpenPOWER on IntegriCloud