[PATCH] D63228: [llvm] Expose DWARFDebugLine::LineTable::getFileNameEntry

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 14:59:17 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL363210: [llvm] Expose DWARFDebugLine::LineTable::getFileNameEntry (authored by mtrofin, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D63228?vs=204357&id=204363#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63228/new/

https://reviews.llvm.org/D63228

Files:
  llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h


Index: llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
===================================================================
--- llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
+++ llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
@@ -268,6 +268,11 @@
         std::function<void(Error)> RecoverableErrorCallback,
         raw_ostream *OS = nullptr);
 
+    /// Get DWARF-version aware access to the file name entry at the provided
+    /// index.
+    const llvm::DWARFDebugLine::FileNameEntry &
+        getFileNameEntry(uint64_t Index) const;
+
     using RowVector = std::vector<Row>;
     using RowIter = RowVector::const_iterator;
     using SequenceVector = std::vector<Sequence>;
@@ -278,8 +283,6 @@
     SequenceVector Sequences;
 
   private:
-    const llvm::DWARFDebugLine::FileNameEntry &
-    getFileNameEntry(uint64_t Index) const;
     uint32_t findRowInSeq(const DWARFDebugLine::Sequence &Seq,
                           object::SectionedAddress Address) const;
     Optional<StringRef>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63228.204363.patch
Type: text/x-patch
Size: 1027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190612/859d880e/attachment.bin>


More information about the llvm-commits mailing list