[llvm-commits] [PATCH] lld driver

Michael Spencer bigcheesegs at gmail.com
Tue Dec 4 21:06:22 PST 2012


Hi khemant,

This patch adds the core architecture for the lld driver. This includes selecting which driver to emulate, option parsing, invocation building, and running the link. This currently only supports a very basic subset of ld.

lld -flavor ld obj.o -o obj

or symlink lld as (ld (ld64 on mac, gnu-ld otherwise), link, ld64, core) to get the desired behavior without -flavor.


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

Files:
  include/lld/Core/ErrorOr.h
  include/lld/Driver/Driver.h
  include/lld/Driver/LinkerInvocation.h
  include/lld/Driver/LinkerOptions.h
  include/lld/Driver/Target.h
  lib/CMakeLists.txt
  lib/Driver/CMakeLists.txt
  lib/Driver/CoreOptions.td
  lib/Driver/Driver.cpp
  lib/Driver/Drivers.cpp
  lib/Driver/LDOptions.td
  lib/Driver/LinkerInvocation.cpp
  lib/Driver/Target.cpp
  lib/Driver/Targets.cpp
  tools/lld/CMakeLists.txt
  tools/lld/lld.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D169.1.patch
Type: text/x-patch
Size: 32904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121204/e7d77750/attachment.bin>


More information about the llvm-commits mailing list