[Lldb-commits] Improvements to PECOFF support

Virgile Bello virgile.bello at gmail.com
Mon Jun 17 09:11:54 PDT 2013


3 patches, aiming to improve PE/COFF support:
- First patch fix symbol reading (invalid header size from sizeof() == 20
!= 18, and various bugfixes such as invalid skipping of auxiliary symbols,
4 bytes shift from beginning, etc...).
- Second patch add image_base to section vmaddr offset so that VM addr is
in image_base space.
- Third patch add support for DWARF section in PECOFF (taken from ELF
counterpart), since they are generated by gcc/clang under windows.

This is all part of _much_ bigger patches to come, in order to bring
MinGW32 support (patch 2 was necessary to make it backtrace/evaluate
variables properly during the port, in case you're wondering).

Please let me know if anything seems wrong.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130618/73c2fce0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-for-PECOFF-symbol-reading.patch
Type: application/octet-stream
Size: 3186 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130618/73c2fce0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-for-PECOFF-section-address-should-use-image_base.patch
Type: application/octet-stream
Size: 1886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130618/73c2fce0/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-PECOFF-Added-support-for-DWARF-sections.patch
Type: application/octet-stream
Size: 3916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130618/73c2fce0/attachment-0002.obj>


More information about the lldb-commits mailing list