In getObjectType(), doxygenify comment, and take a pointer to the
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 11 Dec 2003 00:38:04 +0000 (00:38 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 11 Dec 2003 00:38:04 +0000 (00:38 +0000)
commit3c0963658820a2e254e00b229fff2b7654aff3e4
tree6ff34e5107d854e72c4fd05b1bc890a54b0df28d
parent27f7a71a252ba146b04a1610a3d1c05729b07012
In getObjectType(), doxygenify comment, and take a pointer to the
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10392 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Archive/ArchiveReader.cpp
lib/Bytecode/Archive/ArchiveReader.cpp
lib/Bytecode/Reader/ArchiveReader.cpp