[llvm-commits] [PATCH] lld driver

Michael Spencer bigcheesegs at gmail.com
Tue Dec 4 21:13:26 PST 2012


On Tue, Dec 4, 2012 at 9:06 PM, Michael Spencer <bigcheesegs at gmail.com> wrote:
> 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

CCing people who don't have a phab account.

- Michael Spencer



More information about the llvm-commits mailing list