forked from OSchip/llvm-project
90aa1d8abe
Currently, when a fragment is relaxed, its size is modified, but its offset is not (it gets laid out as a side effect of checking whether it needs relaxation), then all subsequent fragments are invalidated because their offsets need to change. When bundling is enabled, relaxed fragments need to get laid out again, because the increase in size may push it over a bundle boundary. So instead of only invalidating subsequent fragments, also invalidate the fragment that gets relaxed, which causes it to get laid out again. This patch also fixes some trailing whitespace and fixes the bundling-related debug output of MCFragments. llvm-svn: 174401 |
||
---|---|---|
.. | ||
align-mode-argument-error.s | ||
asm-printing-bundle-directives.s | ||
autogen-inst-offset-align-to-end.s | ||
autogen-inst-offset-padding.s | ||
bundle-group-too-large-error.s | ||
bundle-lock-option-error.s | ||
different-sections.s | ||
lit.local.cfg | ||
lock-without-bundle-mode-error.s | ||
pad-align-to-bundle-end.s | ||
pad-bundle-groups.s | ||
relax-at-bundle-end.s | ||
relax-in-bundle-group.s | ||
single-inst-bundling.s | ||
switch-section-locked-error.s | ||
unlock-without-lock-error.s |