[PATCH] D29021: [ELF] - Stop handling local symbols in a special way.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 06:00:09 PST 2017


> -    P->setSymbolAndType(Body.DynsymIndex, Type, Config->Mips64EL);
> +    P->setSymbolAndType(In<ELFT>::SymTab->getSymbolIndex(&Body), Type,
> +                        Config->Mips64EL);

This is scary. It now does a scan over all symbol to find the
index. Have you benchmarked this?

Cheers,
Rafael


More information about the llvm-commits mailing list