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

Evan Cheng echeng at apple.com
Wed Mar 11 21:49:26 PDT 2009


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.

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




More information about the llvm-commits mailing list