OSDN Git Service

[DebugInfo] Move function from line table to the prologue (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 16 Jul 2019 00:37:17 +0000 (00:37 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 16 Jul 2019 00:37:17 +0000 (00:37 +0000)
commit89e7ecf9efd14c9767fe832b1fc2c22763b3ad10
treebec5b1c3f74d760c71a9c64299445764fc56382b
parent88564d2f3a0d9d1cafccacc4240153a87e0fae10
[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@366158 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
lib/DebugInfo/DWARF/DWARFDebugLine.cpp