commit | e25e1ef48b029795fd03be13791e5d19834bd503 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Sun Nov 07 15:03:27 2010 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Sun Nov 07 15:03:27 2010 +0000 |
tree | 1400cfe8807ba5ee311b14852b540f84bb82c15b | |
parent | 6bc6cd223c79ed30e13363772ecc0a3e220f853b [diff] |
Speed up AddSectionToTheEnd. It was walking all fragments in all sections. This is really slow with we have 1000s of sections each with a corresponding relocation section. Also, it is only used by the ELF writer to add basic data, so there is no need to force a new layout pass. Should fix PR8563. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118377 91177308-0d34-0410-b5e6-96231b3b80d8