Ah, of course.<div>Thanks.</div><div>  Filipe<br><br>On Monday, June 22, 2015, Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>> +  // Collect sorted symbol addresses. Include dummy addresses for the end<br>
>> +  // of each section.<br>
>> +  std::vector<SymEntry> Addresses;<br>
>> +  unsigned SymNum = 0;<br>
>> +  for (symbol_iterator I = O.symbol_begin(), E = O.symbol_end(); I != E;<br>
>> ++I) {<br>
><br>
> Why don't you use .symbols()?<br>
<br>
<br>
Because I save the symbol_iterator. Why? So I can use symbol_end() for<br>
the dummy entries for the section end.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br><br>-- <br>  F<br><br>