| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 36888
|
|
|
|
| |
llvm-svn: 36866
|
|
|
|
| |
llvm-svn: 36856
|
|
|
|
|
|
| |
Adjust useage of sys::Path::FileType for new enumerator names.
llvm-svn: 35651
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 throwing/handling from lib/Bytecode, and adjust its users
to compensate for changes in the interface.
llvm-svn: 29875
|
|
|
|
|
|
|
| |
Remove exception handling from the bytecode archiver and adjust the llvm-ar
tool to accommodate the new interfaces.
llvm-svn: 29866
|
|
|
|
|
|
|
| |
in lib/Bytecode/Archive/Makefile is now removed. One small step closer to
a smaller LLVM.
llvm-svn: 29067
|
|
|
|
|
|
| |
created by reading the symbol table.
llvm-svn: 28251
|
|
|
|
| |
llvm-svn: 25023
|
|
|
|
|
|
|
| |
an llvm-ranlib symtab. This speeds up gccld -native on an almost empty .o file
from 1.63s to 0.18s.
llvm-svn: 23406
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Get rid of the difference between file paths and directory paths. The Path
class now simply stores a path that can refer to either a file or a
directory. This required various changes in the implementation and interface
of the class with the corresponding impact to its users. Doxygen comments were
also updated to reflect these changes. Interface changes are:
appendDirectory -> appendComponent
appendFile -> appendComponent
elideDirectory -> eraseComponent
elideFile -> eraseComponent
elideSuffix -> eraseSuffix
renameFile -> rename
setDirectory -> set
setFile -> set
Changes pass Dejagnu and llvm-test/SingleSource tests.
llvm-svn: 22349
|
|
|
|
| |
llvm-svn: 21416
|
|
|
|
|
|
|
| |
bytecode file members or not.
Patch Contributed By Adam Treat
llvm-svn: 20338
|
|
|
|
| |
llvm-svn: 19172
|
|
|
|
| |
llvm-svn: 19056
|
|
|
|
| |
llvm-svn: 18869
|
|
|
|
| |
llvm-svn: 18853
|
|
|
|
| |
llvm-svn: 18785
|
|
|
|
| |
llvm-svn: 18300
|
|
|
|
| |
llvm-svn: 18179
|
|
|
|
| |
llvm-svn: 18044
|
|
|
|
|
|
|
|
| |
member's size. It is based on the oddness/evenness of the file pointer.
This fixes a bug with llvm-ar not being able to read archives produced by
llvm-ranlib when there are members with odd long file name lengths.
llvm-svn: 17997
|
|
|
|
| |
llvm-svn: 17981
|
|
|
|
|
|
| |
eliminate symbols defined by the archive efficiently
llvm-svn: 17976
|
|
|
|
|
|
| |
name of the module: "Archive.a(object.o)"
llvm-svn: 17917
|
|
|
|
|
|
|
| |
*do* include the length of the long file in the length of the member and
they are *not* null terminated.
llvm-svn: 17909
|
|
|
|
|
|
|
| |
* Make sure we write out the foreign symbol table if we read one \
* Make the padding calculation more efficiently and avoid Solaris warnings
llvm-svn: 17883
|
|
|
|
|
|
|
|
| |
symbol table.
* Make sure we update the file pointer for each member when rebuilding the
symbol table.
llvm-svn: 17812
|
|
|
|
| |
llvm-svn: 17811
|
|
|
|
|
|
| |
a more efficient manner.
llvm-svn: 17767
|
|
llvm-svn: 17742
|