| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Convert more tools code from cerr and cout to errs() and outs(). | Dan Gohman | 2009-07-16 | 1 | -6/+5 |
| | | | | | llvm-svn: 76070 | ||||
| * | To simplify the upcoming context-on-type change, switch all command line ↵ | Owen Anderson | 2009-07-15 | 1 | -1/+1 |
| | | | | | | | | | tools to using the default global context for now. This will let us to hardwire stuff to the global context in the short term while the API is sorted out. llvm-svn: 75846 | ||||
| * | Add a Force option to raw_fd_ostream to specify whether opening | Dan Gohman | 2009-07-15 | 1 | -30/+25 |
| | | | | | | | | | an existing file is considered an error. Convert several tools to use raw_fd_ostream instead of std::ostream, and to use this new option instead of doing a manual check. llvm-svn: 75801 | ||||
| * | Hold the LLVMContext by reference rather than by pointer. | Owen Anderson | 2009-07-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 74640 | ||||
| * | Add a pointer to the owning LLVMContext to Module. This requires threading ↵ | Owen Anderson | 2009-07-01 | 1 | -1/+3 |
| | | | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614 | ||||
| * | Change various llvm utilities to use PrettyStackTraceProgram in | Chris Lattner | 2009-03-06 | 1 | -2/+6 |
| | | | | | | | | their main routines. This makes the tools print their argc/argv commands if they crash. llvm-svn: 66248 | ||||
| * | Move Print*Pass to use raw_ostream. | Daniel Dunbar | 2008-10-22 | 1 | -1/+2 |
| | | | | | llvm-svn: 57946 | ||||
| * | Privatize PrintModulePass and PrintFunctionPass and add | Daniel Dunbar | 2008-10-21 | 1 | -1/+1 |
| | | | | | | | | createPrintModulePass and createPrintFunctionPass. - So clients who compile w/o RTTI can use them. llvm-svn: 57933 | ||||
| * | remove attributions from tools. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | | llvm-svn: 45421 | ||||
| * | 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 | ||||

