[llvm-commits] [llvm-gcc-4.2] r59991 - in /llvm-gcc-4.2/trunk/gcc: config/darwin.h llvm-backend.cpp

Bill Wendling isanbard at gmail.com
Mon Nov 24 15:41:38 PST 2008


On Mon, Nov 24, 2008 at 3:40 PM, Devang Patel <dpatel at apple.com> wrote:
> Bill,
>
> One nit-pick
>
>> --- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
>> +++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Mon Nov 24 17:21:13 2008
>> @@ -1133,6 +1133,11 @@
>>     if (const char *Section =
>>         LLVM_IMPLICIT_TARGET_GLOBAL_VAR_SECTION(decl)) {
>>       GV->setSection(Section);
>> +
>> +#ifdef TARGET_ADJUST_CFSTRING_NAME
>> +      if (!GV->hasName() && GV->hasInternalLinkage())
>
> pl. move this check inside darwin.c TARGET_ADJUST_CFSTRING_NAME macro.
>
Okay.

-bw



More information about the llvm-commits mailing list