]> granicus.if.org Git - llvm/commit
Re-land "[DebugInfo] Move function from line table to the prologue (NFC)"
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 16 Jul 2019 01:21:25 +0000 (01:21 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 16 Jul 2019 01:21:25 +0000 (01:21 +0000)
commita8aec29ce35ddde7f3074d85139145cfad53f9ff
treed4fc7896e1b64485760de452217902a826b2af6c
parentdfcb352e376f71ce468277597d70f7dd83e63525
Re-land "[DebugInfo] Move function from line table to the prologue (NFC)"

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.

Differential revision: https://reviews.llvm.org/D64774

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366164 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
lib/DebugInfo/DWARF/DWARFDebugLine.cpp