[PATCH] llvm-readobj: print COFF import table
    Rui Ueyama 
    ruiu at google.com
       
    Wed Oct  1 18:06:42 PDT 2014
    
    
  
Hi majnemer,
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
Files:
  include/llvm/Object/COFF.h
  lib/Object/COFFObjectFile.cpp
  test/tools/llvm-readobj/Inputs/imports.exe.coff-i386
  test/tools/llvm-readobj/Inputs/imports.exe.coff-x86-64
  test/tools/llvm-readobj/imports.test
  tools/llvm-readobj/COFFDumper.cpp
  tools/llvm-readobj/ObjDumper.h
  tools/llvm-readobj/llvm-readobj.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5569.14301.patch
Type: text/x-patch
Size: 5741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141002/caac0293/attachment.bin>
    
    
More information about the llvm-commits
mailing list