[PATCH] D34359: [DWARF] Verification of the validity of the hash data offset and hash data DIEs in the the .apple_names section.

Spyridoula Gravani via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 15:40:37 PDT 2017


sgravani added inline comments.


================
Comment at: include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:58
   uint32_t getHeaderDataLength();
+  uint32_t getNumAtoms();
+  ArrayRef<std::pair<HeaderData::AtomType, HeaderData::Form>> getAtomsDesc();
----------------
friss wrote:
> you don't really need this, you can do getAtomsDesc().size();
...good point


https://reviews.llvm.org/D34359





More information about the llvm-commits mailing list