[PATCH] D25822: [DWARF parsers] - Add a way to get section indices when call DWARFUnit::collectAddressRanges()
    Greg Clayton via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Oct 20 10:36:41 PDT 2016
    
    
  
clayborg added a comment.
Seems like a lot of work to include the section index everywhere. Can't the section index just be looked up using the ObjectFile given an address? Something like:
  uint32_t ObjectFile::getSectionIndexForAddress(uint64_t addr);
https://reviews.llvm.org/D25822
    
    
More information about the llvm-commits
mailing list