[lld] r247625 - Add content to the .hash section.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 16:30:21 PDT 2015


>> +    std::vector<uint32_t> Buckets;
>> +    Buckets.resize(NumSymbols);
>> +    std::vector<uint32_t> Chains;
>> +    Chains.resize(NumSymbols);
>
>
> Is there any reason not to write like
>
>   std::vector<uint32_t> Buckets(NumSymbols);
>
> instead of the two lines?

No, fixed in r247637.

Thanks,
Rafael


More information about the llvm-commits mailing list