Layout one section until no relaxations are done and then move to the next
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 21 Dec 2010 04:22:09 +0000 (04:22 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 21 Dec 2010 04:22:09 +0000 (04:22 +0000)
commit62b83b62f377ac248038672015dc65970327f786
tree05dbe876b43f097179e7e225dada431baaf96285
parentc19aadb8b0219462ff55f4bdc8106cebc1245bb6
Layout one section until no relaxations are done and then move to the next
section.

This helps because in practice sections form a dag with debug sections pointing
to text sections. Finishing up the text sections first makes the debug section
relaxation trivial.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122314 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAssembler.h
lib/MC/MCAssembler.cpp