r178358 - Hexagon: Set Hexagon tool-chain when configured as OSless target.

David Blaikie dblaikie at gmail.com
Mon Apr 15 20:03:18 PDT 2013


*bump* for unaddressed CR feedback.

On Fri, Mar 29, 2013 at 5:35 PM, Rafael Ávila De Espíndola
<rafael.espindola at gmail.com> wrote:
> Test case?
>
> Sent from my iPhone
>
> On 2013-03-29, at 15:09, Jyotsna Verma <jverma at codeaurora.org> wrote:
>
>> Author: jverma
>> Date: Fri Mar 29 14:09:20 2013
>> New Revision: 178358
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=178358&view=rev
>> Log:
>> Hexagon: Set Hexagon tool-chain when configured as OSless target.
>>
>>
>> Modified:
>>    cfe/trunk/lib/Driver/Driver.cpp
>>
>> Modified: cfe/trunk/lib/Driver/Driver.cpp
>> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=178358&r1=178357&r2=178358&view=diff
>> ==============================================================================
>> --- cfe/trunk/lib/Driver/Driver.cpp (original)
>> +++ cfe/trunk/lib/Driver/Driver.cpp Fri Mar 29 14:09:20 2013
>> @@ -1753,7 +1753,11 @@ const ToolChain &Driver::getToolChain(co
>>         TC = new toolchains::TCEToolChain(*this, Target, Args);
>>         break;
>>       }
>> -
>> +      // If Hexagon is configured as an OSless target
>> +      if (Target.getArch() == llvm::Triple::hexagon) {
>> +        TC = new toolchains::Hexagon_TC(*this, Target, Args);
>> +        break;
>> +      }
>>       TC = new toolchains::Generic_GCC(*this, Target, Args);
>>       break;
>>     }
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list