[llvm-commits] [PATCH] [lld] Add TargetInfo abstraction.

Michael Spencer bigcheesegs at gmail.com
Fri Jan 18 14:42:15 PST 2013


Hi shankarke, khemant, kledzik,

This patch adds the TargetInfo abstraction, but doesn't move anything over to use it.

The TargetInfo class is the root source of information for different parts of the linker. The readers, writers, resolver, and passes use this to make choices and perform actions.

In addition to the generic TargetInfo, each file format gets its own TargetInfo type which may have additional functionality specifically needed by that format's reader or writer.

http://llvm-reviews.chandlerc.com/D311

Files:
  include/lld/Core/LinkerOptions.h
  include/lld/Core/TargetInfo.h
  include/lld/Driver/LinkerInvocation.h
  include/lld/Driver/LinkerOptions.h
  include/lld/Driver/Target.h
  include/lld/ReaderWriter/ELFTargetInfo.h
  include/lld/ReaderWriter/MachOTargetInfo.h
  lib/Core/CMakeLists.txt
  lib/Core/TargetInfo.cpp
  lib/Driver/Drivers.cpp
  lib/Driver/Targets.cpp
  lib/ReaderWriter/ELF/CMakeLists.txt
  lib/ReaderWriter/ELF/ELFTargetInfo.cpp
  lib/ReaderWriter/MachO/CMakeLists.txt
  lib/ReaderWriter/MachO/MachOTargetInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D311.1.patch
Type: text/x-patch
Size: 22173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130118/43d73fd0/attachment.bin>


More information about the llvm-commits mailing list