ARMAsmBackend uses a factory method to generate binary file format specific
authorJoe Abbey <jabbey@arxan.com>
Tue, 16 Sep 2014 09:18:23 +0000 (09:18 +0000)
committerJoe Abbey <jabbey@arxan.com>
Tue, 16 Sep 2014 09:18:23 +0000 (09:18 +0000)
commite9233b393a4752dd2341a43b54c26fca2b8e7ec6
treea3476fdd76e9e7e942dd44cbed12dc23f4f5c08a
parent359ae293f5875b432290a1295b985b893dc0d9fc
ARMAsmBackend uses a factory method to generate binary file format specific
objects.  There were a few FIXMEs in ARMAsmBackend.cpp suggesting the class
definitions should be in a separate file.  Starting with ARMAsmBackend, the
class definition has been put in a header file, and #includes reduced.  Each
sub-type of ARMAsmBackend is now in its own header file.

Derived types have been painted with a different color of bike-shed:

  s/DarwinARMAsmBackend/ARMAsmBackendDarwin/g
  s/ARMWinCOFFAsmBackend/ARMAsmBackendWinCOFF/g
  s/ELFARMAsmBackend/ARMAsmBackendELF/g

Finally, clang-format has been run across ARMAsmBackend.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217866 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmBackend.h
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h [new file with mode: 0644]
lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h [new file with mode: 0644]
lib/Target/ARM/MCTargetDesc/ARMAsmBackendELF.h [new file with mode: 0644]
lib/Target/ARM/MCTargetDesc/ARMAsmBackendWinCOFF.h [new file with mode: 0644]