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

Rafael Espindola espindola at google.com
Fri Nov 6 06:46:47 PST 2009


> 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 ...


> -Chris
>


Cheers,
-- 
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shared.patch
Type: text/x-diff
Size: 312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091106/54524f86/attachment.patch>


More information about the llvm-commits mailing list