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

John McCall via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 14 11:17:26 PDT 2016


rjmccall added a comment.

Your use case violates the "ODR" restriction on linkonce_odr.

Do you maybe just want __attribute__((weak))?


Repository:
  rL LLVM

http://reviews.llvm.org/D18095





More information about the cfe-commits mailing list