summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2015-06-27 01:54:17 +0000
committerPetr Hosek <phosek@chromium.org>2015-06-27 01:54:17 +0000
commit3294670f6c30c821d8613a7a6d7a1b8833c87778 (patch)
tree70f8f352f828a647092ac1b7b354c2dd9d2d60eb /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent4bbf563f6eaba4eb101ee76893a562a89b04a9ec (diff)
downloadbcm5719-llvm-3294670f6c30c821d8613a7a6d7a1b8833c87778.tar.gz
bcm5719-llvm-3294670f6c30c821d8613a7a6d7a1b8833c87778.zip
[MC] Ensure that pending labels are flushed when -mc-relax-all flag is used
Summary: The current implementation doesn't always flush all pending labels beforeemitting data which can result in an incorrectly placed labels in case when when instruction bundling is enabled and -mc-relax-all flag is being used. To address this issue, we always flush pending labels before emitting data. 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/D10325 llvm-svn: 240870
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud