[llvm-commits] [llvm-gcc-4.2] r119778 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
dalej
dalej at apple.com
Fri Nov 19 11:25:17 PST 2010
On Nov 19, 2010, at 8:40 AM, Rafael EspĂndola wrote:
>>> 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?
Subtarget->getDarwinVers()
but it currently only exists in the PPC and X86 versions of Subtarget.
>> Ciao,
>>
>> Duncan.
>
> Cheers,
> Rafael
>
> _______________________________________________
> 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