llvm-objdump/COFF: Print load configuration table.
authorRui Ueyama <ruiu@google.com>
Wed, 19 Feb 2014 03:53:11 +0000 (03:53 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 19 Feb 2014 03:53:11 +0000 (03:53 +0000)
commitb7e1ab795944263b663593085f7fee404f72475f
tree976a61779ab0ff43e9606c9d37db917397ee6825
parent3fd813ef423e23d7f57ed3784d423ca503cd3578
llvm-objdump/COFF: Print load configuration table.

Load Configuration Table may contain a pointer to SEH table. This patch is to
print the offset to the table. Printing SEH table contents is a TODO.

The layout of Layout Configuration Table is described in Microsoft PE/COFF
Object File Format Spec, but the table's offset/size descriptions seems to be
totally wrong, at least in revision 8.3 of the spec. I believe the table in
this patch is the correct one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201638 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/COFF.h
test/tools/llvm-objdump/Inputs/nop.exe.coff-i386
test/tools/llvm-objdump/coff-private-headers.test
tools/llvm-objdump/COFFDump.cpp