[cfe-commits] r68484 - /cfe/trunk/test/CodeGenObjC/try.m

Daniel Dunbar daniel at zuster.org
Mon Apr 6 19:41:20 PDT 2009


On Mon, Apr 6, 2009 at 7:33 PM, Chris Lattner <clattner at apple.com> wrote:

>
> On Apr 6, 2009, at 7:31 PM, Daniel Dunbar wrote:
>
>  Author: ddunbar
>> Date: Mon Apr  6 21:31:44 2009
>> New Revision: 68484
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=68484&view=rev
>> Log:
>> Fix test (triple wasn't passed correctly, the driver doesn't accept
>> -mtriple).
>>
>
> Huh weird.  Why doesn't the driver accept -mtriple?


Why would it? -mtriple isn't a standard option (is it?). We should support
some form of setting the triple, but I find -mtriple to be a funny spelling
for it. Supporting -b to set the target would be somewhat more consistent
with gcc.

 - Daniel

-Chris
>
>
>
>>
>> Modified:
>>   cfe/trunk/test/CodeGenObjC/try.m
>>
>> Modified: cfe/trunk/test/CodeGenObjC/try.m
>> URL:
>> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/try.m?rev=68484&r1=68483&r2=68484&view=diff
>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> ======================================================================
>> --- cfe/trunk/test/CodeGenObjC/try.m (original)
>> +++ cfe/trunk/test/CodeGenObjC/try.m Mon Apr  6 21:31:44 2009
>> @@ -1,5 +1,5 @@
>> -// RUN: clang %s -S -o - -mtriple=i686-apple-darwin9 &&
>> -// RUN: clang %s -S -o - -mtriple=x86_64-apple-darwin9
>> +// RUN: clang-cc %s -S -o - -triple=i686-apple-darwin9 &&
>> +// RUN: clang-cc %s -S -o - -triple=x86_64-apple-darwin9
>>
>> // rdar://6757213 - Don't crash if the internal proto for
>> // __objc_personality_v0 mismatches with an actual one.
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090406/1fdf668a/attachment.html>


More information about the cfe-commits mailing list