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. llvm-svn: 226332
This commit is contained in:
@@ -111,7 +111,7 @@ uint64_t Archive::Child::getSize() const {
|
||||
}
|
||||
|
||||
uint64_t Archive::Child::getRawSize() const {
|
||||
return Data.size();
|
||||
return getHeader()->getSize();
|
||||
}
|
||||
|
||||
Archive::Child Archive::Child::getNext() const {
|
||||
|
||||
Reference in New Issue
Block a user