[llvm-commits] [compiler-rt][patch] Build on linux. Avoid extra _

Chris Lattner clattner at apple.com
Sun Nov 8 19:24:15 PST 2009


On Nov 6, 2009, at 6:46 AM, Rafael Espindola wrote:

>> Hi Rafael,
>>
>> Can this just use the __USER_LABEL_PREFIX__ macro?  On darwin it is  
>> "_" on
>> linux it is "".  You should be able to token paste that onto the  
>> start of a
>> symbol.
>
> The attached patch works for me, but there is a comment on the file
> about USER_LABEL_PREFIX being broken ...

Looks good to me,

-Chris

>
>
>> -Chris
>>
>
>
> Cheers,
> -- 
> Rafael Ávila de Espíndola
> <shared.patch>





More information about the llvm-commits mailing list