summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/ArchiveReader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use the new FileUtilities.h API for mapping a file into an addressChris Lattner2004-05-281-14/+8
| | | | | | space llvm-svn: 13864
* Use the true, decoded name of the archive member in getObjectType.Brian Gaeke2004-03-311-7/+10
| | | | | | | In ReadArchiveBuffer, make sure that MemberName is set in the case where getObjectType would want to return SVR4LongFilename. llvm-svn: 12567
* * finegrainify namespacification of ArchiveReader.cppChris Lattner2004-01-101-6/+3
| | | | | | | * Refactor reader stuff out of include/llvm/Bytecode/Primitives.h. This is internal implementation details for the reader, not public interfaces! llvm-svn: 10739
* Use new getFileSize function instead of sys/stat.h directly.Chris Lattner2003-12-301-7/+5
| | | | llvm-svn: 10650
* Reverted back to revision 1.11. The previous fix doesn't really fixJohn Criswell2003-12-221-12/+3
| | | | | | anything; it just causes the bug to go dormant. llvm-svn: 10585
* Fix PR#193.John Criswell2003-12-201-3/+12
| | | | | | | | | | Modified ReadArchiveBuffer() so that it dynamically allocates the std::string object used to hold the bytecode object file's name. This is necessary because it is passed by reference to the new Module that is allocated to represent the bytecode object, and previously we were using a std::string that disappeared on function exit. llvm-svn: 10565
* Make getObjectType() smarter about ranlibbed Mac OS X archives.Brian Gaeke2003-12-171-0/+2
| | | | llvm-svn: 10493
* In getObjectType(), doxygenify comment, and take a pointer to theBrian Gaeke2003-12-111-50/+43
| | | | | | | | | | | | | beginning of the archive member data as an argument. Get rid of ParseLongFilenameSection(), which is dead. In ReadArchiveBuffer(), implement support for 4.4BSD/MacOSX long filenames. This is kind of invasive, because they prepend the long filename to the archive member data, and then lie about the size. So we have to keep track of the real size. llvm-svn: 10392
* Implement skeletal support for __.SYMDEF (ranlib) sections in archives.Brian Gaeke2003-11-161-10/+35
| | | | | | | | Correctly parse the Long Filename section of the archive. When reading in archive members, set their ModuleIDs to "ARCHIVENAME(MEMBERNAME)", as is traditional. llvm-svn: 10043
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-1/+4
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Update file header for renamed fileChris Lattner2003-09-221-1/+1
| | | | llvm-svn: 8673
* Fixed spelling and grammar.Misha Brukman2003-09-111-1/+1
| | | | llvm-svn: 8489
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-301-3/+3
| | | | | | system. llvm-svn: 7014
* Fixed 'prevalent'.Misha Brukman2003-04-231-1/+1
| | | | llvm-svn: 5860
* Preserve module source information in the ModuleIDChris Lattner2003-04-221-3/+5
| | | | llvm-svn: 5836
* Initial support for reading standard .a filesChris Lattner2003-04-191-0/+166
llvm-svn: 5820
OpenPOWER on IntegriCloud