OSDN Git Service

A collection of 3 patches to the COFF file ObjectFile parser from Virgile Bello:
authorGreg Clayton <gclayton@apple.com>
Tue, 18 Jun 2013 00:08:58 +0000 (00:08 +0000)
committerGreg Clayton <gclayton@apple.com>
Tue, 18 Jun 2013 00:08:58 +0000 (00:08 +0000)
commit0076e71592a6a3c3e9fea6a7824c3ac284f3d002
treeac1f1fe8d18180e5f66d55badc3d8cd9c378b67f
parenteec89c202e394d990c1b7d8a09b3fbfe4300fe15
A collection of 3 patches to the COFF file ObjectFile parser from Virgile Bello:

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.

llvm-svn: 184153
lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp