llvm-mirror/tools/llvmc
Chris Lattner 43d0b955a3 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.

llvm-svn: 34012
2007-02-07 21:41:02 +00:00
..
.cvsignore
c Patches to correct several bugs in llvmc. 2006-08-16 20:31:44 +00:00
CompilerDriver.cpp push bytecode decompressor out through APIs. Now the bytecode reader 2007-02-07 21:41:02 +00:00
CompilerDriver.h For PR797: 2006-08-21 06:04:45 +00:00
ConfigLexer.cpp.cvs silly cleanup 2006-05-29 18:52:05 +00:00
ConfigLexer.h silly cleanup 2006-05-29 18:52:05 +00:00
ConfigLexer.l
ConfigLexer.l.cvs
Configuration.cpp Patches to correct several bugs in llvmc. 2006-08-16 20:31:44 +00:00
Configuration.h silly cleanup 2006-05-29 18:52:05 +00:00
cpp
LICENSE.TXT
ll Delete a no-longer-supported configuration item. 2006-08-29 20:52:44 +00:00
llvmc.cpp make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. 2006-12-06 01:18:01 +00:00
Makefile Ressurrect the Stacker "st" configuration. Someday this will all go 2006-12-13 08:09:48 +00:00
st Ressurrect this needed file. 2006-12-13 08:10:16 +00:00