[lld] r249955 - ELF2: Remove ProgramHeader class and use Elf_Phdr directly. NFC.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 11 07:30:57 PDT 2015


On 11 October 2015 at 10:24, Rui Ueyama <ruiu at google.com> wrote:
> Sorry about the style change. I'll separate them in future.
>
> I think the use of unordered_set is reasonable because the number of
> segments are very small.

That is precisely why it is not reasonable :-)

Playing with the code a bit it seems the best thing is to just replace
it with at SmallPtrSet.

Cheers,
Rafael


More information about the llvm-commits mailing list