<div dir="ltr"><div>On Sat, Apr 30, 2016 at 12:34 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> - void parse();<br>
> -<br>
> - llvm::MutableArrayRef<LazyObject> getLazySymbols() { return LazySymbols; }<br>
> + void parse(SymbolTableBase *Symtab);<br>
><br>
> ----------------<br>
> Can we merge SymbolTableBase with SymbolTable<ELFT> if you template this, ArchiveFile::parse and BitcodeFile::parse functions?<br>
<br>
</span>I assume these vectors make it hard:<br>
<br>
std::vector<std::unique_ptr<ObjectFile<ELFT>>> ObjectFiles;<br>
std::vector<std::unique_ptr<SharedFile<ELFT>>> SharedFiles;<br></blockquote><div><br></div><div>I was suggesting defining only SymbolTable<ELFT> and remove SymbolTableBase. </div></div></div></div>