[lld] r217112 - If lld binary is named 'ld' on darwin, use darwin driver mode
joerg at britannica.bec.de
Fri Sep 5 14:22:51 PDT 2014
On Thu, Sep 04, 2014 at 11:17:46AM -0700, Nick Kledzik wrote:
> On Sep 4, 2014, at 2:00 AM, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
> > On Thu, Sep 04, 2014 at 12:03:37AM -0000, Nick Kledzik wrote:
> >> Author: kledzik
> >> Date: Wed Sep 3 19:03:36 2014
> >> New Revision: 217112
> >> URL: http://llvm.org/viewvc/llvm-project?rev=217112&view=rev
> >> Log:
> >> If lld binary is named 'ld' on darwin, use darwin driver mode
> > I wonder if we can defer this decision until the target triple is
> > actually parsed?
> What target triple are you thinking of? For the darwin linker, there is no target triple on the command line.
The parsing here is for something like "target-ld", so behavior of ld
can/should depend on <target>.
More information about the llvm-commits