[PATCH] D57666: [LLD] [COFF] Avoid O(n^2) accesses into PartialSections

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 4 13:12:09 PST 2019


mstorsjo updated this revision to Diff 185142.
mstorsjo retitled this revision from "[LLD] [COFF] Avoid O(n^2) insertion into PartialSections" to "[LLD] [COFF] Avoid O(n^2) accesses into PartialSections".
mstorsjo added a comment.

Using find/ != end to avoid creating entries for sections that aren't found.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57666/new/

https://reviews.llvm.org/D57666

Files:
  COFF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57666.185142.patch
Type: text/x-patch
Size: 3858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190204/65137be6/attachment-0001.bin>


More information about the llvm-commits mailing list