diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
commit | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch) | |
tree | 012bb94d777798f1f56ac1cec429509766d05181 /contrib/libs/llvm12/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h | |
parent | 6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff) | |
download | ydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/llvm12/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h')
-rw-r--r-- | contrib/libs/llvm12/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/libs/llvm12/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h b/contrib/libs/llvm12/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h index d3ef09da62..9997a0fae5 100644 --- a/contrib/libs/llvm12/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h +++ b/contrib/libs/llvm12/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h @@ -128,8 +128,8 @@ public: bool hasFileAtIndex(uint64_t FileIndex) const; - Optional<uint64_t> getLastValidFileIndex() const; - + Optional<uint64_t> getLastValidFileIndex() const; + bool getFileNameByIndex(uint64_t FileIndex, StringRef CompDir, DILineInfoSpecifier::FileLineInfoKind Kind, @@ -260,10 +260,10 @@ public: return Prologue.hasFileAtIndex(FileIndex); } - Optional<uint64_t> getLastValidFileIndex() const { - return Prologue.getLastValidFileIndex(); - } - + Optional<uint64_t> getLastValidFileIndex() const { + return Prologue.getLastValidFileIndex(); + } + /// Extracts filename by its index in filename table in prologue. /// In Dwarf 4, the files are 1-indexed and the current compilation file /// name is not represented in the list. In DWARF v5, the files are @@ -324,8 +324,8 @@ public: public: using LineToUnitMap = std::map<uint64_t, DWARFUnit *>; - SectionParser(DWARFDataExtractor &Data, const DWARFContext &C, - DWARFUnitVector::iterator_range Units); + SectionParser(DWARFDataExtractor &Data, const DWARFContext &C, + DWARFUnitVector::iterator_range Units); /// Get the next line table from the section. Report any issues via the /// handlers. |