| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 36888
|
|
|
|
| |
llvm-svn: 36866
|
|
|
|
| |
llvm-svn: 35747
|
|
|
|
| |
llvm-svn: 35744
|
|
|
|
|
|
| |
Adjust useage of sys::Path::FileType for new enumerator names.
llvm-svn: 35651
|
|
|
|
|
|
|
|
| |
Make the sys::Path::getFileStatus function more efficient by having it
return a pointer to the FileStatus structure rather than copy it. Adjust
uses of the function accordingly. Also, fix some memory issues in sys::Path.
llvm-svn: 35476
|
|
|
|
|
|
| |
Updates for change in interface of getFileStatus method of sys::Path class.
llvm-svn: 35458
|
|
|
|
| |
llvm-svn: 34022
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Convert asserts into error messages.
llvm-svn: 32607
|
|
|
|
|
|
|
| |
Remove exception handling from the bytecode archiver and adjust the llvm-ar
tool to accommodate the new interfaces.
llvm-svn: 29866
|
|
|
|
|
|
|
| |
Adjust to new interface for MappedFile. Note that the new "throw"
statements will be removed later.
llvm-svn: 29818
|
|
|
|
|
|
|
|
| |
instead of throwing an exception. This reduces the amount of code that is
exposed to exceptions (e.g. FileUtilities), though it is clearly only one step
along the way.
llvm-svn: 29395
|
|
|
|
|
|
| |
not a legal path on Windows.
llvm-svn: 28153
|
|
|
|
|
|
|
|
|
|
| |
file to become corrupted due to interactions between mmap'd memory segments
and file descriptors closing. The problem is completely avoiding by using
a third temporary file.
Patch provided by Evan Jones
llvm-svn: 24527
|
|
|
|
| |
llvm-svn: 21704
|
|
|
|
| |
llvm-svn: 21416
|
|
|
|
| |
llvm-svn: 21405
|
|
|
|
| |
llvm-svn: 19863
|
|
|
|
| |
llvm-svn: 18785
|
|
|
|
| |
llvm-svn: 18044
|
|
|
|
|
|
| |
* Make sure all members are initialized upon construction
llvm-svn: 17882
|
|
|
|
| |
llvm-svn: 17765
|
|
yet supported but writing works. Way too early to review this. More to come
llvm-svn: 17499
|