[llvm-commits] [llvm-gcc-4.2] r119778 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Rafael Espíndola rafael.espindola at gmail.com
Fri Nov 19 08:40:40 PST 2010


>>     TheTarget = TME->createTargetMachine(TargetTriple, FeatureStr);
>> +  TheTarget->setMCUseLoc(false);
>
> shouldn't this only be set on darwin systems?
>

Probably. I did it unconditionally first for testing (which as good as
it looks like the Darwin bots don't have address space randomization
enabled and we don't compare clang bootstraps). Do you know how to
detect the current darwin version? Since this is llvm-gcc I assume we
can do it at compile time with ifdefs, right?

> Ciao,
>
> Duncan.

Cheers,
Rafael




More information about the llvm-commits mailing list