aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCObjectStreamer.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2015-06-27 01:49:53 +0000
committerPetr Hosek <phosek@chromium.org>2015-06-27 01:49:53 +0000
commit4bbf563f6eaba4eb101ee76893a562a89b04a9ec (patch)
tree6fd8f19fc3d3bee99f1c3ada5aa7615dbfe51c6c /llvm/lib/MC/MCObjectStreamer.cpp
parent203cbe7f6f53c5e95ebf4f870bb9dae53a0a5c72 (diff)
downloadllvm-4bbf563f6eaba4eb101ee76893a562a89b04a9ec.zip
llvm-4bbf563f6eaba4eb101ee76893a562a89b04a9ec.tar.gz
llvm-4bbf563f6eaba4eb101ee76893a562a89b04a9ec.tar.bz2
[MC] Align fragments when -mc-relax-all flag is used
Summary: Ensure that fragments are bundle aligned when instruction bundling is enabled and the -mc-relax-all flag is set. This is implicitly assumed by the bundle padding implementation but this assumption does not hold when custom alignment is being used. The change was tested by running PNaCl toolchain trybots with -mc-relax-all flag set. Fixes https://code.google.com/p/nativeclient/issues/detail?id=4063 Test Plan: Regression test attached Reviewers: mseaborn Subscribers: jfb, llvm-commits Differential Revision: http://reviews.llvm.org/D10044 llvm-svn: 240869
Diffstat (limited to 'llvm/lib/MC/MCObjectStreamer.cpp')
0 files changed, 0 insertions, 0 deletions