DescriptionWindows dump_syms: Add dumping of x86_64 CFI from PDB files
Look for PDATA/XDATA streams in the PDB file, and use those to generate CFI.
Since those streams are only present in the PDB for PECOFF executables linked
using the /DEBUGTYPE:PDATA flag, we fall-back to the existing behaviour of
reading the corresponding PECOFF executable (if available) for PDATA/XDATA.
Generalize FindAndLoadOmapTable() as FindAndLoadDebugStream()
Factor out interpeting the PDATA/XDATA and outputting CFI lines as
PrintCFIFromXData(), and parameterize that by a class which performs RVA to
VA translation as appropriate to PDB streams or a PECOFF executable image
loaded with ImageHlp.
BUG=None
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 7 (3 generated)
|