This patch adds a new flag "-coff-imports" to llvm-readobj.

Description

This patch adds a new flag "-coff-imports" to llvm-readobj.
When the flag is given, the command prints out the COFF import table.

Currently only the import table directory will be printed.
I'm going to make another patch to print out the imported symbols.

The implementation of import directory entry iterator in
COFFObjectFile.cpp was buggy. This patch fixes that too.

http://reviews.llvm.org/D5569

Details

Auditors
Bigcheese
Committed
ruiuOct 2 2014, 10:02 AM
Parents
rL218890: Fix codesigning of MacOSX debugserver when built with cmake.
Branches
Unknown
Tags
Unknown