[PATCH] D36712: Emit section information for extern variables
Krzysztof Parzyszek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 16 09:03:57 PDT 2017
kparzysz added a comment.
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.
More information about the cfe-commits