[PATCH] D18095: Add __attribute__((linkonce_odr_linkage))

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 22 13:31:12 PDT 2016


yaxunl added a comment.

Sorry my previous example may have caused some confusion.

Previously I said I wanted to override function definitions. However the only reason we want to add this attribute is so that unused functions will be dropped by the linker.


http://reviews.llvm.org/D18095





More information about the cfe-commits mailing list