[PATCH] D45214: Inline initOffsetMap

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 10:25:44 PDT 2018


ruiu added inline comments.


================
Comment at: ELF/SyntheticSections.cpp:2445
+      SectionPiece &P = Sec->Pieces[I];
+      Sec->OffsetMap[P.InputOff] = I;
+      if (P.Live)
----------------
Shouldn't this line be in the following `if`?


https://reviews.llvm.org/D45214





More information about the llvm-commits mailing list