mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Fix the Archive::Child::getRawSize() method used by llvm-objdump’s -archive-headers option
and tweak its use in llvm-objdump. Add back the test case for the -archive-headers option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226332 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -572,7 +572,7 @@ static void printArchiveChild(Archive::Child &C, bool verbose,
|
||||
outs() << format("%3d/", UID);
|
||||
unsigned GID = C.getGID();
|
||||
outs() << format("%-3d ", GID);
|
||||
uint64_t Size = C.getRawSize() - sizeof(object::ArchiveMemberHeader);
|
||||
uint64_t Size = C.getRawSize();
|
||||
outs() << format("%5d ", Size);
|
||||
|
||||
StringRef RawLastModified = C.getRawLastModified();
|
||||
|
||||
Reference in New Issue
Block a user