COFF: add beginnings of debug directory creation
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 29 Aug 2016 21:20:46 +0000 (21:20 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 29 Aug 2016 21:20:46 +0000 (21:20 +0000)
commit8fcff934bae29c54d68bc94134136d9e8fb9a208
tree8f77ca1d7f34d643d8215484df07c23cf31677e8
parentf8bab1ce0cac4c802372af46cd4c0045eab6fdb4
COFF: add beginnings of debug directory creation

The IMAGE_FILE_HEADER structure contains a (RVA, size) to an array of
COFF_DEBUG_DIRECTORY records. Each one of these records contains an RVA to a OMF
Debug Directory. These OMF debug directories are derived into newer types such
as PDB70, PDB20, etc. This constructs a PDB70 structure which will allow us to
associate a GUID with a build to actually tie debug information.

llvm-svn: 280012
lld/COFF/Config.h
lld/COFF/Driver.cpp
lld/COFF/Writer.cpp
lld/test/COFF/delayimports32.test
lld/test/COFF/rsds.test [new file with mode: 0644]
lld/test/COFF/symtab.test