[PATCH] D23254: CodeView: extract the OMF Directory Header

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 7 22:30:49 PDT 2016


compnerd created this revision.
compnerd added a reviewer: zturner.
compnerd added a subscriber: llvm-commits.
compnerd set the repository for this revision to rL LLVM.

The DebugDirectory contains a pointer to the CodeView info structure which is a
derivative of the OMF debug directory.  The structure has evolved a bit over
time, and PDB 2.0 used a slightly different definition from PDB 7.0.  Both of
these are specific to CodeView and not COFF.  Reflect this by moving the
structure definitions into the DebugInfo/CodeView headers.  Define a generic
DebugInfo union type that can be used to pass around a reference to the
DebugInfo irrespective of the versioning.  NFC.

Repository:
  rL LLVM

https://reviews.llvm.org/D23254

Files:
  include/llvm/DebugInfo/CodeView/CVDebugRecord.h
  include/llvm/Object/COFF.h
  lib/DebugInfo/CodeView/CMakeLists.txt
  lib/DebugInfo/CodeView/CVDebugRecord.cpp
  lib/DebugInfo/Symbolize/Symbolize.cpp
  lib/Object/COFFObjectFile.cpp
  tools/llvm-readobj/COFFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23254.67121.patch
Type: text/x-patch
Size: 8916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160808/e373699a/attachment.bin>


More information about the llvm-commits mailing list