| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
their main routines. This makes the tools print their argc/argv
commands if they crash.
llvm-svn: 66248
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use raw_ostream instead of std::ostream. Among other goodness,
this speeds up llvm-dis of kc++ with a release build from 0.85s
to 0.49s (88% faster).
Other interesting changes:
1) This makes Value::print be non-virtual.
2) AP[S]Int and ConstantRange can no longer print to ostream directly,
use raw_ostream instead.
3) This fixes a bug in raw_os_ostream where it didn't flush itself
when destroyed.
4) This adds a new SDNode::print method, instead of only allowing "dump".
A lot of APIs have both std::ostream and raw_ostream versions, it would
be useful to go through and systematically anihilate the std::ostream
versions.
This passes dejagnu, but there may be minor fallout, plz let me know if
so and I'll fix it.
llvm-svn: 55263
|
| |
|
|
| |
llvm-svn: 45421
|
| |
|
|
|
|
| |
commands and into the common code.
llvm-svn: 42752
|
| |
|
|
|
|
| |
Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913
|
| |
|
|
|
|
| |
memory buffer couldn't be allocated.
llvm-svn: 36904
|
| |
|
|
| |
llvm-svn: 36900
|
| |
|
|
| |
llvm-svn: 36868
|
| |
|
|
| |
llvm-svn: 36836
|
| |
|
|
| |
llvm-svn: 34917
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Minor tweaks in public headers and a few .cpp files so that LLVM can build
successfully with -pedantic and projects using LLVM with -pedantic don't
get warnings from LLVM. There's still more -pedantic warnings to fix.
llvm-svn: 28453
|
| |
|
|
|
|
| |
This violates the LLVM coding standards.
llvm-svn: 25050
|
| |
|
|
|
|
|
|
| |
1. Don't mix C++ and C standard I/O, convert to C++ iostreams
2. Wrap long lines
3. use the std namespace to simplify/shorten the code
llvm-svn: 25042
|
| |
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 16091
|
| |
|
|
| |
llvm-svn: 14623
|
| |
|
|
| |
llvm-svn: 13813
|
| |
|
|
| |
llvm-svn: 12233
|
| |
|
|
|
|
| |
tool.
llvm-svn: 11632
|
| |
|
|
| |
llvm-svn: 11316
|
| |
|
|
| |
llvm-svn: 9903
|
| |
|
|
| |
llvm-svn: 9754
|
| |
|
|
| |
llvm-svn: 9626
|
| |
|
|
| |
llvm-svn: 9625
|
| |
|
|
| |
llvm-svn: 9624
|
| |
|
|
| |
llvm-svn: 9623
|
| |
|
|
|
|
| |
blocks :)
llvm-svn: 9622
|
| |
|
|
| |
llvm-svn: 9621
|
| |
|
|
| |
llvm-svn: 9595
|
| |
|
|
| |
llvm-svn: 9594
|
| |
|
|
| |
llvm-svn: 9567
|
| |
|
|
| |
llvm-svn: 9562
|
| |
|
|
|
|
| |
to functions
llvm-svn: 9559
|
| |
|
|
|
|
| |
report
llvm-svn: 9557
|
| |
|
|
|
|
| |
it yet.
llvm-svn: 9556
|
|
|
llvm-svn: 9551
|