[llvm-commits] [test-suite] r66747 - /test-suite/trunk/Makefile.programs

Evan Cheng echeng at apple.com
Wed Mar 11 22:27:51 PDT 2009


On Mar 11, 2009, at 10:09 PM, Bill Wendling wrote:

> On Wed, Mar 11, 2009 at 9:49 PM, Evan Cheng <echeng at apple.com> wrote:
>>
>> On Mar 11, 2009, at 7:34 PM, Bill Wendling wrote:
>>
>>> This might not work. --gcc-tool-args eats the rest of the argument
>>> list like --tool-args does.
>>
>> I am not sure what you mean.  This seems to work for me to bug 32-bit
>> miscompilation when gcc / linker, etc default to 64-bit.
>>
> I was just saying that right before adding --gcc-tool-args to the line
> it's adding --tool-args to the line. Both of them take the rest of the
> line and use that as the arguments to their respective tools.
>
> Or at least that's what I understand them to do. :-)

That would be very broken. But my tests indicates it works well  
enough. You can pass -debug-only=toolrunner to see how bugpoint is  
using these options.

Evan

>
> -bw
>
>> Evan
>>
>>>
>>> -bw
>>>
>>> On Mar 11, 2009, at 5:54 PM, Evan Cheng <evan.cheng at apple.com>  
>>> wrote:
>>>
>>>> Author: evancheng
>>>> Date: Wed Mar 11 19:54:48 2009
>>>> New Revision: 66747
>>>>
>>>> URL: http://llvm.org/viewvc/llvm-project?rev=66747&view=rev
>>>> Log:
>>>> Also pass -m32 / -m64 to bugpoint as part of -gcc-tool-args.
>>>>
>>>> Modified:
>>>>   test-suite/trunk/Makefile.programs
>>>>
>>>> Modified: test-suite/trunk/Makefile.programs
>>>> URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=66747&r1=66746&r2=66747&view=diff
>>>>
>>>> ===
>>>> ===
>>>> ===
>>>> = 
>>>> = 
>>>> ===================================================================
>>>> --- test-suite/trunk/Makefile.programs (original)
>>>> +++ test-suite/trunk/Makefile.programs Wed Mar 11 19:54:48 2009
>>>> @@ -524,6 +524,12 @@
>>>> BUGPOINT_OPTIONS += -input=$(STDIN_FILENAME) -output=Output/$*.out-
>>>> nat
>>>> BUGPOINT_OPTIONS += -timeout=$(RUNTIMELIMIT)
>>>> BUGPOINT_OPTIONS += --tool-args $(LLCFLAGS)
>>>> +ifeq ($(ARCH),x86)
>>>> +BUGPOINT_OPTIONS += -gcc-tool-args -m32
>>>> +endif
>>>> +ifeq ($(ARCH),x86_64)
>>>> +BUGPOINT_OPTIONS += -gcc-tool-args -m64
>>>> +endif
>>>> BUGPOINT_ARGS += --args -- $(RUN_OPTIONS)
>>>>
>>>> # Rules to bugpoint the opt, llvm-ld, llc, or lli commands...
>>>>
>>>>
>>>> _______________________________________________
>>>> llvm-commits mailing list
>>>> llvm-commits at cs.uiuc.edu
>>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>> _______________________________________________
>>> llvm-commits mailing list
>>> llvm-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list