Relax alignment fragments.
commit4be77a90b5974fb03131a22f434fe8838974264f
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 Dec 2010 08:45:53 +0000 (15 08:45 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 15 Dec 2010 08:45:53 +0000 (15 08:45 +0000)
treecccbb7a607e07c1166a377006aa31956f5d5797d
parente201b7518d9bf6d3322b01d6c8d43d25824a8cc1
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