[cfe-commits] r149083 - in /cfe/trunk: include/clang/Driver/ToolChain.h lib/Driver/Driver.cpp lib/Driver/ToolChain.cpp lib/Driver/ToolChains.cpp lib/Driver/ToolChains.h lib/Driver/WindowsToolChain.cpp test/Driver/prefixed-tools.c test/Driver/pref

Chandler Carruth chandlerc at google.com
Thu Jan 26 20:22:21 PST 2012


On Thu, Jan 26, 2012 at 1:56 PM, Joerg Sonnenberger <joerg at bec.de> wrote:

> Author: joerg
> Date: Thu Jan 26 15:56:28 2012
> New Revision: 149083
>
> URL: http://llvm.org/viewvc/llvm-project?rev=149083&view=rev
> Log:
> Keep track of the original target the user specified before
> normalization. This used to be captured in DefaultTargetTriple and is
> used for the (optional) $triple-$tool lookup for cross-compilation.
> Do this properly by making it an attribute of the toolchain and use it
> in combination with the computed triple as index for the toolchain
> lookup.
>

Why wasn't this (non-trivial or obvious cleanup) patch mailed for code
review? Or generally discussed? Please don't commit w/o review.

This is I suspect similar to the approach I had in mind, but I haven't had
time to review it or make sure it is actually sane. Personally, I would
like you to revert and follow the standard developer policy by mailing a
patch for review. I suspect that functionality like this is exactly the
right way to go, but it needs to be discussed first.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120126/07906172/attachment.html>


More information about the cfe-commits mailing list