diff options
| author | Eugene Leviant <eleviant@accesssoftek.com> | 2019-05-13 11:53:05 +0000 |
|---|---|---|
| committer | Eugene Leviant <eleviant@accesssoftek.com> | 2019-05-13 11:53:05 +0000 |
| commit | 053c6fc2b8a7d7fac11e6f7bb450046d1d5389fd (patch) | |
| tree | eb3b834d873de5a02f88deeb6c26c48161d67856 /llvm/examples/ModuleMaker/ModuleMaker.cpp | |
| parent | 9cba2c9650eba7f146b159b3930ab882723105fb (diff) | |
| download | bcm5719-llvm-053c6fc2b8a7d7fac11e6f7bb450046d1d5389fd.tar.gz bcm5719-llvm-053c6fc2b8a7d7fac11e6f7bb450046d1d5389fd.zip | |
[ThinLTO] Don't internalize weak writeable variables
Variables with linkonce_odr and weak_odr linkage shouldn't be internalized
if they're not readonly. Otherwise we may end up with multiple copies of
such variable, so reads and writes will become inconsistent
Differential revision: https://reviews.llvm.org/D61255
llvm-svn: 360577
Diffstat (limited to 'llvm/examples/ModuleMaker/ModuleMaker.cpp')
0 files changed, 0 insertions, 0 deletions

