diff options
author | Tim Northover <tnorthover@apple.com> | 2019-05-14 11:03:13 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2019-05-14 11:03:13 +0000 |
commit | ed9117f88d0f2282b6c994fc3a5f4818c4046e84 (patch) | |
tree | 784e75392344aebfe36d05e21f510b6d6f0e7dd8 /lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace/main.cpp | |
parent | 9df3883618a91832f129213a4637957bf2ba9fa2 (diff) | |
download | bcm5719-llvm-ed9117f88d0f2282b6c994fc3a5f4818c4046e84.tar.gz bcm5719-llvm-ed9117f88d0f2282b6c994fc3a5f4818c4046e84.zip |
GlobalOpt: do not promote globals used atomically to constants.
Some atomic loads are implemented as cmpxchg (particularly if large or
floating), and that usually requires write access to the memory involved
or it will segfault.
We can still propagate the constant value to users we understand though.
llvm-svn: 360662
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace/main.cpp')
0 files changed, 0 insertions, 0 deletions