summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Archive/Archive.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fold the useful features of alist and alist_node into ilist, andDan Gohman2008-07-281-2/+2
| | | | | | | | | | | | | | | | a new ilist_node class, and remove them. Unlike alist_node, ilist_node doesn't attempt to manage storage itself, so it avoids the associated problems, including being opaque in gdb. Adjust the Recycler class so that it doesn't depend on alist_node. Also, change it to use explicit Size and Align parameters, allowing it to work when the largest-sized node doesn't have the greatest alignment requirement. Change MachineInstr's MachineMemOperand list from a pool-backed alist to a std::list for now. llvm-svn: 54146
* Change the MemoryBuffer::getFile* methods to take just a pointer to theChris Lattner2008-04-011-3/+2
| | | | | | | | start of a filename, not a filename+length. All clients can produce a null terminated name, and the system api's require null terminated strings anyway. llvm-svn: 49041
* change the archive stuff to use MemoryBuffer instead of mappedfile.Chris Lattner2008-04-011-14/+7
| | | | | | | MemoryBuffer is higher level and more closely matches the model needed. llvm-svn: 49029
* Remove MappedFile support for mapping files for write and execChris Lattner2008-04-011-1/+1
| | | | | | | and shared. This complicates the design, is not used, and probably doesn't even work. llvm-svn: 49022
* add missing #includesChris Lattner2008-04-011-0/+1
| | | | llvm-svn: 49020
* Fix thinko: alias always defines new symbol. Even is aliasee itself is ↵Anton Korobeynikov2008-03-111-4/+2
| | | | | | undefined. llvm-svn: 48203
* Add alias with non-external aliasee to the list of exported symbols of the ↵Anton Korobeynikov2008-03-041-1/+10
| | | | | | library. llvm-svn: 47899
* Unbreak build with gcc 4.3: provide missed includes and silence most ↵Anton Korobeynikov2008-02-201-0/+2
| | | | | | annoying warnings. llvm-svn: 47367
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* eliminate residual cruft related to recognizing bytecodeGabor Greif2007-07-061-8/+1
| | | | | | | files. bitcode files are the only LLVM format left. llvm-svn: 37945
* Here is the bulk of the sanitizing.Gabor Greif2007-07-051-8/+8
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* adjust this to live in lib/ArchiveChris Lattner2007-05-061-0/+271
llvm-svn: 36886
OpenPOWER on IntegriCloud