[llvm-commits] [llvm] r43912 - /llvm/trunk/test/FrontendObjC/2007-09-25-EH.m

Devang Patel dpatel at apple.com
Thu Nov 8 14:53:09 PST 2007


On Nov 8, 2007, at 2:48 PM, Chris Lattner wrote:

>
> On Nov 8, 2007, at 2:40 PM, Tanya Lattner wrote:
>
>>
>> On Nov 8, 2007, at 2:39 PM, Devang Patel wrote:
>>
>>>
>>> On Nov 8, 2007, at 2:35 PM, Dale Johannesen wrote:
>>>
>>>> The error message is clean,
>>>> but something like dg-require would be even better.
>>>
>>>
>>> We do not have anything like dg-require.
>>>
>>
>> What is dg-require?

It checks whether target supports particular feature or not before  
running the test.

>>
>>
>> If you can tell me how to get if llvm-gcc is 64 bit, I can see what I
>> can do.

>>
>
> How about:
>
> XREQUIRE: llvm-gcc -xc /dev/null -S -o /dev/null  -m64
>
> If that command returns success, then the -m64 option is supported.
>
> Crazy?  Reasonable?


Reasonable from user's point of view :) If XREQUIRE return success  
then only test is run otherwise test is not run.

-
Devang






More information about the llvm-commits mailing list