[PATCH] D32228: [DWARF] - Take relocations in account when extracting ranges from .debug_ranges

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 08:36:32 PDT 2017


dblaikie added inline comments.


================
Comment at: include/llvm/DebugInfo/DWARF/DWARFContext.h:234
   virtual StringRef getStringOffsetDWOSection() = 0;
-  virtual StringRef getRangeDWOSection() = 0;
+  virtual const DWARFSection &getRangeDWOSection() = 0;
   virtual StringRef getAddrSection() = 0;
----------------
I don't think there is a ranges.dwo section, is there? The ranges section is in the .o file, always. (the DWARF5 rnglists can go in the .dwo, though)


https://reviews.llvm.org/D32228





More information about the llvm-commits mailing list