[PATCH] D29233: Fix linkage of static locals in available_externally functions to be DiscardableODR/linkonce_odr
Mehdi AMINI via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 27 14:11:38 PST 2017
mehdi_amini accepted this revision.
mehdi_amini added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: lib/AST/ASTContext.cpp:8909
+
+ // Itanium ABI (& MSVC seems to do similarly) requires static locals in
+ // inline functions to be emitted anywhere they're needed, even if the
----------------
I assume you looked it up, do you have a ref? (Citation or pointer to right section/paragraph).
https://reviews.llvm.org/D29233
More information about the cfe-commits
mailing list