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:
Kevin Enderby
2015-01-16 22:10:36 +00:00
parent 2c0f0f92f2
commit 57cc8ad672
4 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ public:
}
/// \return the size of the archive member without the header or padding.
uint64_t getSize() const;
/// \return the size of the archive member with the header and padding.
/// \return the size in the archive header for this member.
uint64_t getRawSize() const;
StringRef getBuffer() const {