ELFState<ELFT>::addSymbols method looks a bit strange.
User code have to create the destination symbols vector outside,
add a null symbol and then pass it to addSymbols when it seems
the more natural logic is to isolate all work with symbols inside some
function, build the list right there and return it.
Details
Details
Diff Detail
Diff Detail
Do you need this? I think the vector resize will do this automatically, if I'm not mistaken.