llvm-6502/test/MC
Petr Hosek bc245c01bf [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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240870 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-27 01:54:17 +00:00
..
AArch64
AMDGPU AMDGPU/SI: Update amd_kernel_code_t definition and add assembler support 2015-06-26 21:58:31 +00:00
ARM Revert r240302 ("Bring r240130 back."). 2015-06-23 11:31:32 +00:00
AsmParser
COFF
Disassembler [X86]: Correctly sign-extend 16-bit immediate in CALL instruction. 2015-06-26 16:58:59 +00:00
ELF Diagnose undefined temporary symbols. 2015-06-25 20:10:45 +00:00
Hexagon
MachO [AsmPrinter] Fix crash in handleIndirectSymViaGOTPCRel 2015-06-25 15:17:23 +00:00
Markup
Mips [mips] [IAS] Add partial support for the ULW pseudo-instruction. 2015-06-26 13:20:17 +00:00
PowerPC [PPC] Implement vmrgew and vmrgow instructions 2015-06-25 15:17:40 +00:00
Sparc Revert r240302 ("Bring r240130 back."). 2015-06-23 11:31:32 +00:00
SystemZ
X86 [MC] Ensure that pending labels are flushed when -mc-relax-all flag is used 2015-06-27 01:54:17 +00:00