[PATCH] D33184: [DWARF] - Make collectAddressRanges() return section index in addition to Low/High PC

Rafael Ávila de Espíndola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 09:11:42 PDT 2017


rafael added a comment.

LGTM



================
Comment at: include/llvm/DebugInfo/DWARF/DWARFRelocMap.h:20
 struct RelocAddrEntry {
+  uint64_t SectionIndex;
   uint64_t Value;
----------------
Document that it is -1 if the relocation points to an absolute symbol.


================
Comment at: lib/DebugInfo/DWARF/DWARFContext.cpp:966
+  uint64_t Address;
+  uint64_t SectionIndex;
+};
----------------
Document that it is -1 if the symbol is absolute.


https://reviews.llvm.org/D33184





More information about the llvm-commits mailing list