[PATCH] D36712: Emit section information for extern variables
Elizabeth Andrews via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 16 11:59:22 PDT 2017
eandrews added a comment.
In https://reviews.llvm.org/D36712#843414, @kparzysz wrote:
> The problem is that the mismatch between sections does not have to lead to any undesirable behavior. Whether it does or not depends on a particular case. I think we should be consistent though---if we decide that a mismatch between the section for a declaration and the section for a definition leads to an undefined behavior, then it should be so regardless of whether the sections were given explicitly or inferred.
Ok. That makes sense. I've updated the documentation to reflect this. Please let me know if it needs to be more detailed.
https://reviews.llvm.org/D36712
More information about the cfe-commits
mailing list