summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* add some simple per-block statisticsChris Lattner2007-04-291-8/+104
| | | | llvm-svn: 36576
* Implement support to read an arbitrary bitcode file. Next up, dumping theChris Lattner2007-04-291-9/+78
| | | | | | file symbolically and actually computing statistics. llvm-svn: 36557
* very early support for analyzing a bitstream. This opens the file, startsChris Lattner2007-04-291-7/+67
| | | | | | reading the stream, and detects whether it is LLVM IR or not. llvm-svn: 36556
* fit in 80 colsChris Lattner2007-04-291-6/+5
| | | | llvm-svn: 36551
* 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
* make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.Chris Lattner2006-12-061-2/+3
| | | | | | With this change, I can now move -stats to print when llvm_shutdown is called. llvm-svn: 32250
* For PR786:Reid Spencer2006-11-021-1/+0
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* Change the verifier to never throw an exception. Instead verifyModule ↵Chris Lattner2006-07-061-14/+1
| | | | | | canoptionally return the string error, which is an easier api for clients touse anyway. llvm-svn: 29017
* Remove trailing whitespaceMisha Brukman2005-04-221-13/+13
| | | | llvm-svn: 21428
* For PR351:Reid Spencer2004-12-301-41/+47
| | | | | | | | | | * 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
* Changes For Bug 352Reid Spencer2004-09-011-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 - adjustReid Spencer2004-08-291-1/+1
| | | | llvm-svn: 16091
* Correct to change interface of the analyzer.Reid Spencer2004-08-211-2/+4
| | | | llvm-svn: 15986
* Name Change: llvm-abcd -> llvm-bcanalyzerReid Spencer2004-07-021-0/+98
llvm-svn: 14555
OpenPOWER on IntegriCloud