[PATCH] D33155: [DWARFv5] Support FORM_strp in the line table header

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 11:45:59 PDT 2017


probinson updated this revision to Diff 102212.
probinson added a comment.
Herald added a subscriber: hiraditya.

Provide DWARFDebugLine parsers with the DWARFContext, not just a relocation map.
Add a second overload of DWARFFormValue::extractValue() for use by the line-table parser; both overloads call a common private implementation.
This allows the v5 line-table header to use DW_FORM_strp.


https://reviews.llvm.org/D33155

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
  llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
  llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
  llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
  llvm/test/DebugInfo/Inputs/dwarfdump-header-64.elf-x86-64
  llvm/test/DebugInfo/Inputs/dwarfdump-header-64.s
  llvm/test/DebugInfo/Inputs/dwarfdump-header.elf-x86-64
  llvm/test/DebugInfo/Inputs/dwarfdump-header.s
  llvm/test/DebugInfo/dwarfdump-header-64.test
  llvm/tools/dsymutil/DwarfLinker.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33155.102212.patch
Type: text/x-patch
Size: 22129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170612/5cd4e056/attachment.bin>


More information about the llvm-commits mailing list