commit | 99ace16bc6962f1fc3dc45bbbdf2eb74e555a8ad | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Tue Apr 12 01:46:54 2011 +0000 |
committer | John McCall <rjmccall@apple.com> | Tue Apr 12 01:46:54 2011 +0000 |
tree | 84800e26bace4f942fa56acdc48fea63dd0a1f7a | |
parent | 1d1a679090afe8468c6c95f8ab9c3192683ac69f [diff] |
Template static data members can have weak_odr linkage, not just weak linkage. Also, fix a problem where global weak variables with non-trivial initializers were getting guard variables, or at least were checking for them and then crashing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129342 91177308-0d34-0410-b5e6-96231b3b80d8