Fix the Archive::Child::getRawSize() method used by llvm-objdump’s -archive-headers...
authorKevin Enderby <enderby@apple.com>
Fri, 16 Jan 2015 22:10:36 +0000 (22:10 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 16 Jan 2015 22:10:36 +0000 (22:10 +0000)
commit57cc8ad672b6b33231602e7ae78b468c69a3bc47
treef3b64c979c52c96ddb1f7b18fffd4f352897ae2f
parent2c0f0f92f2877d3b6056015d72ddba11f32a4e3f
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
include/llvm/Object/Archive.h
lib/Object/Archive.cpp
test/tools/llvm-objdump/X86/macho-archive-headers.test [new file with mode: 0644]
tools/llvm-objdump/MachODump.cpp