Relax alignment fragments.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 Dec 2010 08:45:53 +0000 (08:45 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 Dec 2010 08:45:53 +0000 (08:45 +0000)
commit2bf6afc277edb32b1d940def5b3eb0e0d32a22b9
treecccbb7a607e07c1166a377006aa31956f5d5797d
parentf9a447617329186976fe5ab8b48fe3c9c0698bc7
Relax alignment fragments.

With this we don't need the EffectiveSize field anymore. Without that field
LayoutFragment only updates offsets and we don't need to invalidate the
current fragment when it is relaxed (only the ones following it).

This is also a very small improvement in the accuracy of the layout info as
we now use the after relaxation size immediately.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121857 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmLayout.h
include/llvm/MC/MCAssembler.h
lib/MC/MCAssembler.cpp
test/MC/MachO/relax-recompute-align.s