| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
With this change, I can now move -stats to print when llvm_shutdown is called.
llvm-svn: 32250
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
using USED_LIBS to specify *libraries* to link against.
llvm-svn: 30090
|
|
|
|
| |
llvm-svn: 29035
|
|
|
|
|
|
| |
canoptionally return the string error, which is an easier api for clients touse anyway.
llvm-svn: 29017
|
|
|
|
|
|
|
| |
BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate
these changes. This was done to speed up link times.
llvm-svn: 28610
|
|
|
|
| |
llvm-svn: 21428
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
llvm-svn: 18255
|
|
|
|
| |
llvm-svn: 17286
|
|
|
|
| |
llvm-svn: 17168
|
|
|
|
| |
llvm-svn: 17155
|
|
|
|
| |
llvm-svn: 17136
|
|
|
|
| |
llvm-svn: 16950
|
|
|
|
| |
llvm-svn: 16894
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
independence of the tool.
llvm-svn: 16092
|
|
|
|
| |
llvm-svn: 16091
|
|
|
|
| |
llvm-svn: 15986
|
|
llvm-svn: 14555
|