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

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 14 11:32:03 PDT 2016


yaxunl added a comment.

My last example is not proper. In real cases, the functions are overridden by functions with the same name and semantics but optimized for speed.

Besides, we want unused library functions in lib_common.ll and lib_opt.ll to be dropped, weak attribute does not achieve that.


Repository:
  rL LLVM

http://reviews.llvm.org/D18095





More information about the cfe-commits mailing list