[PATCH] D53907: [DWARFv5] Read and dump multiple .debug_info sections

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 6 08:39:30 PST 2018


aprantl added inline comments.


================
Comment at: llvm/include/llvm/DebugInfo/DWARF/DWARFObject.h:37
+  virtual void
+  forEachInfoSections(function_ref<void(const DWARFSection &)> F) const {}
   virtual void
----------------
A more common pattern in LLVM seems to be an debug_info_sections() accessor that returns an iterator range, such as in http://llvm.org/doxygen/classllvm_1_1object_1_1ObjectFile.html#a7f73649118e365a230be4870d824e7cf


Repository:
  rL LLVM

https://reviews.llvm.org/D53907





More information about the llvm-commits mailing list