[PATCH] D34222: Split Target.cpp into small files.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 14:33:15 PDT 2017


ruiu created this revision.
Herald added subscribers: javed.absar, mgorny, nhaehnle, nemanjai, sdardis, emaste.

Target.cpp contains code for all the targets that LLD supports. It was
simple and easy, but as the number of supported targets increased,
it got messy.

This patch splits the file into per-target files under ELF/arch directory.


https://reviews.llvm.org/D34222

Files:
  lld/ELF/CMakeLists.txt
  lld/ELF/Target.cpp
  lld/ELF/Target.h
  lld/ELF/arch/AArch64.cpp
  lld/ELF/arch/AMDGPU.cpp
  lld/ELF/arch/ARM.cpp
  lld/ELF/arch/Mips.cpp
  lld/ELF/arch/PPC.cpp
  lld/ELF/arch/PPC64.cpp
  lld/ELF/arch/X86.cpp
  lld/ELF/arch/X86_64.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34222.102608.patch
Type: text/x-patch
Size: 169978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170614/66adff57/attachment.bin>


More information about the llvm-commits mailing list