1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/Target/ARM/MCTargetDesc
Keno Fischer b466194d5d [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
..
ARMAddressingModes.h Revert "[ARM] Add ARMv8.2-A FP16 scalar instructions" 2015-12-16 19:21:03 +00:00
ARMAsmBackend.cpp Revert "[ARM] Add ARMv8.2-A FP16 scalar instructions" 2015-12-16 19:21:03 +00:00
ARMAsmBackend.h ARM: diagnose invalid local fixups on Thumb1 2015-10-02 18:07:18 +00:00
ARMAsmBackendDarwin.h ARM: add support for WatchOS's compact unwind information. 2015-10-28 22:56:36 +00:00
ARMAsmBackendELF.h Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
ARMAsmBackendWinCOFF.h Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
ARMBaseInfo.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ARMELFObjectWriter.cpp ARM/ELF: Better codegen for global variable addresses. 2015-10-26 18:23:16 +00:00
ARMELFStreamer.cpp [ARM] Fix several state persistence bugs 2016-01-12 13:38:15 +00:00
ARMFixupKinds.h Revert "[ARM] Add ARMv8.2-A FP16 scalar instructions" 2015-12-16 19:21:03 +00:00
ARMMachObjectWriter.cpp [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
ARMMachORelocationInfo.cpp MC: Clean up MCExpr naming. NFC. 2015-05-30 01:25:56 +00:00
ARMMCAsmInfo.cpp ARM: make sure backend is consistent about exception handling method. 2015-11-18 21:10:39 +00:00
ARMMCAsmInfo.h Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
ARMMCCodeEmitter.cpp Revert "[ARM] Add ARMv8.2-A FP16 scalar instructions" 2015-12-16 19:21:03 +00:00
ARMMCExpr.cpp MC: Add target hook to control symbol quoting 2015-06-09 00:31:39 +00:00
ARMMCExpr.h Fix pr24486. 2015-10-05 12:07:05 +00:00
ARMMCTargetDesc.cpp [ARM] Introduce subtarget features per ARM architecture. 2015-11-16 11:10:19 +00:00
ARMMCTargetDesc.h [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00
ARMTargetStreamer.cpp [ARM] Fix several state persistence bugs 2016-01-12 13:38:15 +00:00
ARMUnwindOpAsm.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ARMUnwindOpAsm.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
ARMWinCOFFObjectWriter.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
ARMWinCOFFStreamer.cpp [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00
CMakeLists.txt Add WoA object file emission support 2014-04-27 03:48:22 +00:00
LLVMBuild.txt Update library dependencies. 2014-07-24 02:10:42 +00:00
Makefile