[lld] r270573 - Fix a wrong assumption.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 12:21:42 PDT 2016


On 24 May 2016 at 12:20, Rui Ueyama <ruiu at google.com> wrote:
> Thank you for doing this, and sorry for the wrong assumption.

NP, we were clearly short on tests for this.

>> +  DenseMap<size_t, CieRecord *> OffsetToCie;
>> +  for (size_t I = 0, End = Sec->Pieces.size(); I != End; ++I) {
>> +    SectionPiece &Piece = Sec->Pieces[I];
>
>
> You can use range-based for here.

Done.

Cheers,
Rafael


More information about the llvm-commits mailing list