]> granicus.if.org Git - llvm/commit
[DWARFv5] Parse new line-table header format.
authorPaul Robinson <paul.robinson@sony.com>
Tue, 2 May 2017 21:40:47 +0000 (21:40 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Tue, 2 May 2017 21:40:47 +0000 (21:40 +0000)
commita6125fe83bed55cf1294dcbd6d6b1a18e66216b1
tree5704ba72ae78980fa3c85042a5162e9b42d19cd0
parent05c11eb3e6503f35093ae9b6892f742d7929aa69
[DWARFv5] Parse new line-table header format.

The directory and file tables now have form-based content descriptors.
Parse these and extract the per-directory/file records based on the
descriptors.  For now we support only DW_FORM_string (inline) for the
path names; follow-up work will add support for indirect forms (i.e.,
DW_FORM_strp, strx<N>, and line_strp).

Differential Revision: http://reviews.llvm.org/D32713

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301978 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
test/DebugInfo/Inputs/dwarfdump-header.elf-x86-64
test/DebugInfo/Inputs/dwarfdump-header.s
test/DebugInfo/dwarfdump-header.test