[LLVMdev] problems running test suite (-mllvm -disable-llvm-optzns)

Dan Gohman gohman at apple.com
Thu Feb 12 14:22:25 PST 2009


On Feb 12, 2009, at 6:03 AM, Duncan Sands wrote:

> Hi,
>
>>> I guess this is because the test suite is trying to run "llvm-gcc
>>> -mllvm -disable-llvm-optzns", which never seems to work, because
>>> llvm-gcc mangles the command line before it gets to cc1plus.
>> That's correct. The driver changes the order of the options provided.
>> You need to provided this option to cc1 / cc1plus directly
>
> Dan fixed this recently in svn IIRC - I don't think it's in the
> prerelease candidate.

Yes.  Until recently -mllvm-disable-llvm-optzns only accidentally
worked on Darwin. It should be generally usable in trunk.

If you're testing the 2.5 branch, please use the 2.5 branch of the  
test-suite.

Dan




More information about the llvm-dev mailing list