[Lldb-commits] [PATCH] D64774: [DebugInfo] Move function from line table to the prologue (NFC)

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 15 14:55:28 PDT 2019


JDevlieghere created this revision.
JDevlieghere added reviewers: dblaikie, probinson, wolfgangp.
JDevlieghere added a project: debug-info.
Herald added subscribers: lldb-commits, hiraditya.
Herald added projects: LLDB, LLVM.

In LLDB, when parsing type units, we don't need to parse the whole line table. Instead, we only need to parse the //support files// from the line table prologue. To make that possible, this patch moves the respective functions from the `LineTable` into the `Prologue`. Because I don't think users of the `LineTable` should have to know that these files come from the `Prologue`, I've left the original methods in place, and made them redirect to the `LineTable`.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D64774

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64774.209961.patch
Type: text/x-patch
Size: 7244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190715/9f2f2d00/attachment.bin>


More information about the lldb-commits mailing list