Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move the space in overview output for commands out of each of the | Dan Gohman | 2007-10-08 | 1 | -1/+1 | |
| | | | | | | commands and into the common code. llvm-svn: 42752 | |||||
* | Here is the bulk of the sanitizing. | Gabor Greif | 2007-07-05 | 1 | -4/+4 | |
| | | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913 | |||||
* | use the new MemoryBuffer interfaces to simplify error reporting in clients. | Chris Lattner | 2007-05-06 | 1 | -7/+4 | |
| | | | | llvm-svn: 36900 | |||||
* | switch tools to bitcode instead of bytecode | Chris Lattner | 2007-05-06 | 1 | -20/+8 | |
| | | | | llvm-svn: 36868 | |||||
* | simplify code | Chris Lattner | 2007-05-06 | 1 | -6/+2 | |
| | | | | llvm-svn: 36837 | |||||
* | Switch the bitcode reader interface to take a MemoryBuffer instead of knowing | Chris Lattner | 2007-04-29 | 1 | -6/+24 | |
| | | | | | | | | | | | | | | anything about disk I/O itself. This greatly simplifies its interface - eliminating the need for the ReaderWrappers.cpp file. This adds a new option to llvm-dis (-bitcode) which instructs it to read the input file as bitcode. Until/unless the bytecode reader is taught to read from MemoryBuffer, there is no way to handle stdin reading without it. I don't plan to switch the bytecode reader over, I'd rather delete it :), so the option will stay around temporarily. llvm-svn: 36554 | |||||
* | don't break reading from stdin | Chris Lattner | 2007-04-22 | 1 | -2/+3 | |
| | | | | llvm-svn: 36336 | |||||
* | teach llvm-dis to read bitcode files | Chris Lattner | 2007-04-22 | 1 | -3/+8 | |
| | | | | llvm-svn: 36334 | |||||
* | push bytecode decompressor out through APIs. Now the bytecode reader | Chris Lattner | 2007-02-07 | 1 | -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 | |||||
* | add an option for timing bc file reading. | Chris Lattner | 2007-02-07 | 1 | -5/+12 | |
| | | | | llvm-svn: 33977 | |||||
* | Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are | Bill Wendling | 2006-12-07 | 1 | -12/+12 | |
| | | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298 | |||||
* | make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. | Chris Lattner | 2006-12-06 | 1 | -0/+3 | |
| | | | | | | With this change, I can now move -stats to print when llvm_shutdown is called. llvm-svn: 32250 | |||||
* | Convert to using llvm streams instead of iostreams. | Bill Wendling | 2006-11-28 | 1 | -10/+12 | |
| | | | | llvm-svn: 31989 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-22 | 1 | -4/+4 | |
| | | | | llvm-svn: 21428 | |||||
* | clean up comments | Chris Lattner | 2005-01-29 | 1 | -3/+2 | |
| | | | | llvm-svn: 19920 | |||||
* | This has been deprecated for long enough, nuke it. | Chris Lattner | 2005-01-29 | 1 | -9/+0 | |
| | | | | llvm-svn: 19919 | |||||
* | For PR351: | Reid Spencer | 2004-12-30 | 1 | -64/+71 | |
| | | | | | | | | | | * 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 | |||||
* | Fix usage of changed function prototype | Reid Spencer | 2004-11-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 17798 | |||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -1/+1 | |
| | | | | | | | | 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 - adjust | Reid Spencer | 2004-08-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 16091 | |||||
* | Eliminate more traces of the -c option | Chris Lattner | 2004-06-07 | 1 | -14/+3 | |
| | | | | llvm-svn: 14049 | |||||
* | Header file moved | Chris Lattner | 2004-05-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 13813 | |||||
* | Make sure to print a stack trace whenever an error signal is delivered to the | Chris Lattner | 2004-02-19 | 1 | -0/+2 | |
| | | | | | | tool. llvm-svn: 11632 | |||||
* | Break a line that's over 80cols into two. | Misha Brukman | 2004-02-13 | 1 | -1/+2 | |
| | | | | llvm-svn: 11423 | |||||
* | Do not advertise our -c option anymore | Chris Lattner | 2004-02-13 | 1 | -1/+2 | |
| | | | | llvm-svn: 11413 | |||||
* | Mercilessly rip the cbackend out of llvm-dis. Leave a helpful error message | Chris Lattner | 2004-02-13 | 1 | -17/+8 | |
| | | | | | | for those who have not heard the news. llvm-svn: 11412 | |||||
* | Change how we create the cwriter, and add a buttload of libraries that it now | Chris Lattner | 2004-02-13 | 1 | -1/+1 | |
| | | | | | | needs. This will be fixed shortly llvm-svn: 11407 | |||||
* | Restore the -llvm option | Chris Lattner | 2003-11-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 9915 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -4/+6 | |
| | | | | llvm-svn: 9903 | |||||
* | fix file header | Chris Lattner | 2003-10-20 | 1 | -3/+1 | |
| | | | | llvm-svn: 9294 | |||||
* | Added copyright header to all C++ source files. | John Criswell | 2003-10-20 | 1 | -0/+8 | |
| | | | | llvm-svn: 9291 | |||||
* | Fix grammar. | Misha Brukman | 2003-10-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 9026 | |||||
* | Renaming LLVM `dis' to `llvm-dis'. | Misha Brukman | 2003-08-28 | 1 | -5/+4 | |
| | | | | llvm-svn: 8189 | |||||
* | Add support for: -o - | Chris Lattner | 2003-05-31 | 1 | -7/+9 | |
| | | | | llvm-svn: 6485 | |||||
* | Kill using declarations | Chris Lattner | 2003-05-22 | 1 | -10/+9 | |
| | | | | llvm-svn: 6292 | |||||
* | Give verbose error messages if bytecode file cannot be parsed | Chris Lattner | 2003-04-16 | 1 | -2/+7 | |
| | | | | llvm-svn: 5789 | |||||
* | Make sure to close the file before deleting it | Chris Lattner | 2002-09-24 | 1 | -1/+4 | |
| | | | | llvm-svn: 3905 | |||||
* | Minor non-functionality changing changes. | Chris Lattner | 2002-09-19 | 1 | -2/+2 | |
| | | | | llvm-svn: 3833 | |||||
* | Avoid deleting the ostream more than once. | Chris Lattner | 2002-09-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 3816 | |||||
* | - Converted CWriter to be an LLVM pass. | Chris Lattner | 2002-08-31 | 1 | -10/+14 | |
| | | | | | | - Convert dis to use a PassManager to do it's work. llvm-svn: 3560 | |||||
* | Print the tool name when an error comes from so that I can tell which | Chris Lattner | 2002-07-30 | 1 | -6/+6 | |
| | | | | | | tool of a pipeline is having issues. llvm-svn: 3166 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-25 | 1 | -2/+2 | |
| | | | | llvm-svn: 3087 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-22 | 1 | -7/+16 | |
| | | | | llvm-svn: 2985 | |||||
* | Clean up dis so that it does not print out code in various traversal orders. | Chris Lattner | 2002-05-09 | 1 | -67/+16 | |
| | | | | | | Now it only output llvm or C code. llvm-svn: 2564 | |||||
* | *** empty log message *** | Sumant Kowshik | 2002-05-08 | 1 | -4/+16 | |
| | | | | llvm-svn: 2552 | |||||
* | Eliminate duplicate or unneccesary #include's | Chris Lattner | 2002-04-29 | 1 | -1/+0 | |
| | | | | llvm-svn: 2397 | |||||
* | Make sure that there is no case where a signal can occur leaving a partially | Chris Lattner | 2002-04-18 | 1 | -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 | |||||
* | Remove extranous #include | Chris Lattner | 2002-04-08 | 1 | -1/+0 | |
| | | | | llvm-svn: 2183 | |||||
* | Change references to the Method class to be references to the Function | Chris Lattner | 2002-04-07 | 1 | -15/+15 | |
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144 | |||||
* | GCC3.0.4 crashes when compiling this. Comment it out for now | Chris Lattner | 2002-02-24 | 1 | -1/+3 | |
| | | | | llvm-svn: 1792 |