[PATCH] Teach llvm-readobj to dump symbol records from a DEBUG_SYMBOL_SUBSECTION section.

Zachary Turner zturner at google.com
Mon Feb 16 01:37:29 PST 2015


Hi timurrrr, majnemer,

Subsections of type DEBUG_SYMBOL_SUBSECTION consist of a series of records.  Each record begins with a 4 byte length, followed by 4 byte type, followed by <length> bytes of data.  

This was already known, but we only dumped DEBUG_SYMBOL_TYPE_PROC_START and DEBUG_SYMBOL_TYPE_PROC_END.  This patch makes llvm-readobj dump the Length, type, and payload of other types of entries as individaul records so that they can be studied more closely.

http://reviews.llvm.org/D7664

Files:
  include/llvm/Support/COFF.h
  test/tools/llvm-readobj/codeview-linetables.test
  tools/llvm-readobj/COFFDumper.cpp
  tools/llvm-readobj/llvm-readobj.cpp
  tools/llvm-readobj/llvm-readobj.h

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7664.20004.patch
Type: text/x-patch
Size: 7830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150216/819049ca/attachment.bin>


More information about the llvm-commits mailing list