[PATCH] D46665: [Itanium] Emit type info names with external linkage.

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 16 16:37:52 PDT 2018


rjmccall added a comment.

I believe static and dynamic linkers — at least on ELF and Mach-O — will always drop weak symbols for strong ones.  Now, I think that isn't LLVM's posted semantics for linkonce_odr, but to me that means that LLVM's semantics are inadequate, not that we should decline to take advantage of them.

If we can't rely on that, it probably means that the type name symbol for class types always has to be linkonce_odr, even if it's for a type with a key function.


Repository:
  rC Clang

https://reviews.llvm.org/D46665





More information about the cfe-commits mailing list