[llvm-commits] [llvm-gcc-4.2] r62850 - in /llvm-gcc-4.2/trunk/gcc: gimplify.c llvm-backend.cpp llvm-convert.cpp tree.h

Chris Lattner clattner at apple.com
Fri Jan 23 09:07:53 PST 2009


On Jan 23, 2009, at 8:53 AM, Rafael Espindola wrote:

> Author: rafael
> Date: Fri Jan 23 10:53:51 2009
> New Revision: 62850
>
> URL: http://llvm.org/viewvc/llvm-project?rev=62850&view=rev
> Log:
> Add DECL_LLVM_PRIVATE to indicate that a decl should use private  
> linkage.
> Use that to hide a gcc created variable.

Very nice Rafael!

Incidentally Bill, using DECL_LLVM_PRIVATE would be a much cleaner  
solution for the various ObjC metadata issues than slapping an "L"  
onto the front of the symbol name with SET_ASSEMBLER_NAME.

-Chris




More information about the llvm-commits mailing list