llvm-project/llvm/test/MC
Keno Fischer 00021429d4 [ARM] Fix several state persistence bugs
Summary:
This fixes three bugs, in all of which state is not or incorrecly reset between
objects (i.e. when reusing the same pass manager to create multiple object
files):
1) AttributeSection needs to be reset to nullptr, because otherwise the backend
   will try to emit into the old object file's attribute section causing a
   segmentation fault.
2) MappingSymbolCounter needs to be reset, otherwise the second object file
   will start where the first one left off.
3) The MCStreamer base class resets the Streamer's e_flags settings. Since
   EF_ARM_EABI_VER5 is set on streamer creation, we need to set it again
   after the MCStreamer was rest.

Also rename Reset (uppser case) to EHReset to avoid confusion with
reset (lower case).

Reviewers: rengolin
Differential Revision: http://reviews.llvm.org/D15950

llvm-svn: 257473
2016-01-12 13:38:15 +00:00
..
AArch64 [AArch64] Fix FP16 vector instructions that should only accept low registers 2015-12-09 14:32:11 +00:00
AMDGPU AMDGPU/SI: Fix encoding of flat instructions on VI 2015-12-24 03:18:18 +00:00
ARM [ARM] Fix several state persistence bugs 2016-01-12 13:38:15 +00:00
AsmParser [MC] Use LShr for constant evaluation of ">>" on non-arm64 darwin. 2015-11-11 00:51:36 +00:00
COFF Make WinCOFFObjectWriter.cpp's timestamp writing not use ENABLE_TIMESTAMPS 2016-01-06 19:05:19 +00:00
Disassembler [mips] Never select JAL for calls to an absolute immediate address. 2016-01-11 15:57:46 +00:00
ELF Accept dwarf version 5 for CIE versions. 2015-12-28 23:02:42 +00:00
Hexagon Fix several accidental DOS line endings in source files 2016-01-03 17:22:03 +00:00
MachO Form reform for MCDwarf. 2015-12-23 01:57:31 +00:00
Markup
Mips [mips] Never select JAL for calls to an absolute immediate address. 2016-01-11 15:57:46 +00:00
PowerPC Relax a few more overspecified tests. 2015-11-03 19:38:19 +00:00
Sparc Update test to take into account for r251271. 2015-10-26 03:34:29 +00:00
SystemZ [SystemZ] Sort relocs to avoid code corruption by linker optimization 2015-12-16 18:12:40 +00:00
X86 [AVX-512] Remove another extra space from the Intel syntax asm strings. 2016-01-11 01:03:40 +00:00