summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-link/llvm-link.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* remove EH cruft, add bitcode supportChris Lattner2007-05-061-66/+80
| | | | llvm-svn: 36841
* push bytecode decompressor out through APIs. Now the bytecode readerChris Lattner2007-02-071-1/+3
| | | | | | | | | | | | | | | | | | | | 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
* default to emiting an uncompressed .bc fileChris Lattner2007-01-211-1/+1
| | | | llvm-svn: 33420
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-24/+22
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.Chris Lattner2006-12-061-0/+2
| | | | | | With this change, I can now move -stats to print when llvm_shutdown is called. llvm-svn: 32250
* Replacing std::iostreams with llvm iostreams. Some of these changes involveBill Wendling2006-11-291-19/+20
| | | | | | | adding a temporary wrapper around the ostream to make it friendly to functions expecting an LLVM stream. This should be fixed in the future. llvm-svn: 31990
* For PR495:Reid Spencer2005-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
* Remove trailing whitespaceMisha Brukman2005-04-221-3/+3
| | | | llvm-svn: 21428
* Print the module, not the pointer.Chris Lattner2005-02-131-1/+1
| | | | llvm-svn: 20156
* Use binary mode for reading/writing bytecode filesJeff Cohen2005-01-221-1/+4
| | | | llvm-svn: 19751
* Fix typo 'ompress' => 'compress'.Jeff Cohen2005-01-011-1/+1
| | | | llvm-svn: 19232
* For PR351:Reid Spencer2004-12-301-52/+59
| | | | | | | | | | * Place a try/catch block around the entire tool to Make sure std::string exceptions are caught and printed before exiting the tool. * Make sure we catch unhandled exceptions at the top level so that we don't abort with a useless message but indicate than an unhandled exception was generated. llvm-svn: 19192
* LinkModules is now in the Linker classReid Spencer2004-12-131-1/+1
| | | | llvm-svn: 18863
* Path::get -> Path::toStringReid Spencer2004-12-111-1/+1
| | | | llvm-svn: 18785
* Linker.h moved to include/llvm.Reid Spencer2004-11-141-1/+1
| | | | llvm-svn: 17805
* Fix usage of changed function prototypeReid Spencer2004-11-141-1/+1
| | | | llvm-svn: 17798
* Rename the option for defeating compression to be a little more specific.Reid Spencer2004-11-071-1/+1
| | | | llvm-svn: 17567
* * Enable bytecode compression by defaultReid Spencer2004-11-071-1/+4
| | | | | | * Provide a -no-compress option to defeat compression. llvm-svn: 17565
* Stop propagating method names that violate the coding standardReid Spencer2004-11-051-1/+1
| | | | llvm-svn: 17498
* Hrm, if there is an error loading a file, try printing a message so theChris Lattner2004-09-271-2/+10
| | | | | | user knows that... llvm-svn: 16524
* Excise the -L option since llvm-link should not do library searches. ItReid Spencer2004-09-121-42/+11
| | | | | | just links bytecode files together. llvm-svn: 16303
* Excise dependent library linking at Chris' request. llvm-link is intendedReid Spencer2004-09-121-105/+0
| | | | | | | to provide only the simplest linking of LLVM modules without trying to be complete. Dependent library linking will be added to gccld or its successor llvm-svn: 16302
* Squelch compilation warnings on SparcMisha Brukman2004-09-121-2/+2
| | | | llvm-svn: 16301
* Implement dependent library processing and search paths for them.Reid Spencer2004-09-111-17/+144
| | | | llvm-svn: 16287
* Changes For Bug 352Reid Spencer2004-09-011-2/+2
| | | | | | | | 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
* The functions in Signal.h are now in the llvm::sys namespace - adjustReid Spencer2004-08-291-2/+2
| | | | llvm-svn: 16091
* Add #include <iostream> since Value.h does not include it any more.Reid Spencer2004-07-041-0/+1
| | | | llvm-svn: 14623
* Linker.h moved to include/llvm/SupportMisha Brukman2004-06-231-1/+1
| | | | llvm-svn: 14351
* Header file movedChris Lattner2004-05-271-1/+1
| | | | llvm-svn: 13813
* Make sure to print a stack trace whenever an error signal is delivered to theChris Lattner2004-02-191-0/+1
| | | | | | tool. llvm-svn: 11632
* Use getFileSize() instead of sys/stat.h directlyChris Lattner2003-12-301-9/+2
| | | | llvm-svn: 10652
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+2
| | | | llvm-svn: 9903
* Removed extraneous comment line.John Criswell2003-10-201-1/+0
| | | | llvm-svn: 9308
* Added copyright header to all C++ source files.John Criswell2003-10-201-0/+8
| | | | llvm-svn: 9291
* Fix grammar.Misha Brukman2003-10-101-1/+1
| | | | llvm-svn: 9026
* Fix file headerChris Lattner2003-09-201-2/+1
| | | | llvm-svn: 8613
* `link' is being renamed to `llvm-link'.Misha Brukman2003-09-151-2/+2
| | | | llvm-svn: 8541
* Reorder #includesChris Lattner2003-08-281-2/+8
| | | | | | Make sure that we veryify the result before writing it out! llvm-svn: 8177
* Fix major bug in my last checkin. :(Chris Lattner2003-06-131-0/+1
| | | | llvm-svn: 6688
* Remove obsolete comments about llvm-arChris Lattner2003-06-121-11/+0
| | | | llvm-svn: 6686
* Kill using declarationsChris Lattner2003-05-221-18/+16
| | | | llvm-svn: 6292
* Print the tool name when an error comes from so that I can tell whichChris Lattner2002-07-301-3/+4
| | | | | | tool of a pipeline is having issues. llvm-svn: 3168
* Fix synopsisChris Lattner2002-07-221-1/+1
| | | | llvm-svn: 2988
* *** empty log message ***Chris Lattner2002-07-221-10/+20
| | | | llvm-svn: 2985
* Clean up anands patchChris Lattner2002-06-301-1/+0
| | | | llvm-svn: 2812
* Changes for 64bit gccAnand Shukla2002-06-251-1/+3
| | | | llvm-svn: 2799
* Drop something that link will never support, use gccld insteadChris Lattner2002-05-201-5/+0
| | | | llvm-svn: 2667
* Updates to move some header files out of include/llvm/Transforms intoChris Lattner2002-05-071-1/+1
| | | | | | the Scalar and Utils subdirectories llvm-svn: 2523
* Use operator << to print modulesChris Lattner2002-04-281-4/+1
| | | | llvm-svn: 2360
* Make sure that there is no case where a signal can occur leaving a partiallyChris Lattner2002-04-181-0/+5
| | | | | | | | written output file. This is important because crashing testcases often write part of a file out, and the testing harness decides the file is up-to-date next time the test is run. llvm-svn: 2303
OpenPOWER on IntegriCloud