[PATCH] D19752: ELF: New symbol table design.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 30 12:34:12 PDT 2016


> -  void parse();
> -
> -  llvm::MutableArrayRef<LazyObject> getLazySymbols() { return LazySymbols; }
> +  void parse(SymbolTableBase *Symtab);
>
> ----------------
> Can we merge SymbolTableBase with SymbolTable<ELFT> if you template this, ArchiveFile::parse and BitcodeFile::parse functions?

I assume these vectors make it hard:

 std::vector<std::unique_ptr<ObjectFile<ELFT>>> ObjectFiles;
  std::vector<std::unique_ptr<SharedFile<ELFT>>> SharedFiles;

Cheers,
Rafael


More information about the llvm-commits mailing list