llvm-6502/tools/bugpoint
Chris Lattner f2e292ce58 push bytecode decompressor out through APIs. Now the bytecode reader
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34012 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-07 21:41:02 +00:00
..
BugDriver.cpp push bytecode decompressor out through APIs. Now the bytecode reader 2007-02-07 21:41:02 +00:00
BugDriver.h Fix for PR960. Improves bugpoint so that it removes global variable 2006-10-25 18:36:14 +00:00
bugpoint.cpp make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. 2006-12-06 01:18:01 +00:00
CrashDebugger.cpp For PR411: 2007-02-05 21:19:13 +00:00
ExecutionDriver.cpp Add an -append-exit-code option to bugpoint. This will cause bugpoint to 2006-11-28 07:04:10 +00:00
ExtractFunction.cpp For PR411: 2007-02-05 20:47:22 +00:00
FindBugs.cpp minor cleanups 2006-08-17 18:49:52 +00:00
ListReducer.h Make the bugpoint reduction heuristics more effective. Patch submitted by 2006-10-10 21:42:25 +00:00
Makefile For PR1072: 2007-02-03 23:15:56 +00:00
Miscompilation.cpp For PR411: 2007-02-05 21:19:13 +00:00
OptimizerDriver.cpp default to emiting an uncompressed .bc file 2007-01-21 06:34:18 +00:00
TestPasses.cpp Remove trailing whitespace 2005-04-22 00:00:37 +00:00
ToolRunner.cpp A bit more debugging printf's. 2007-01-03 07:44:30 +00:00
ToolRunner.h Add a new -cbe-bug mode, which works just like -run-llc, except that it uses 2006-09-15 21:29:15 +00:00