[PATCH] Use private linkage for the profile instrumentation variables that don't need to keep one copy when linking.

Alex L arphaman at gmail.com
Wed Jul 23 10:57:55 PDT 2014


Hi,

I've attached a patch that forces the per-function profile instrumentation
variables to use the private linkage unless they need to use the linkage
that keeps only one copy.

The private linkage forces the names for those variables to be stripped,
reducing the resulting object file size.

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140723/6b878196/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGOprivateLinkage.patch
Type: application/octet-stream
Size: 1500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140723/6b878196/attachment.obj>


More information about the cfe-commits mailing list