commit | ab6b226978644c438a3a7768a06dcd48509d000c | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Fri Mar 20 21:53:29 2009 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Fri Mar 20 21:53:29 2009 +0000 |
tree | 8d574fefe86e8fa7cf23552dc4353c69bc8dec20 | |
parent | db95fa131a229652f925794ca7a5b84e9490050b [diff] |
Don't load values out of global constants with weak linkage: the value may be replaced with something different at link time. (Frontends that want to allow values to be loaded out of weak constants can give their constants weak_odr linkage). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67407 91177308-0d34-0410-b5e6-96231b3b80d8