diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-07 15:03:27 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-07 15:03:27 +0000 |
commit | e25e1ef48b029795fd03be13791e5d19834bd503 (patch) | |
tree | 1400cfe8807ba5ee311b14852b540f84bb82c15b /lib/Analysis/InstructionSimplify.cpp | |
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
Diffstat (limited to 'lib/Analysis/InstructionSimplify.cpp')
0 files changed, 0 insertions, 0 deletions