diff options
author | Tim Northover <t.p.northover@gmail.com> | 2019-11-07 13:36:03 +0000 |
---|---|---|
committer | Tim Northover <t.p.northover@gmail.com> | 2019-11-07 13:36:44 +0000 |
commit | 10e0d64337d64ebdb658bf9108bd9bb48fb5390c (patch) | |
tree | 1feb4f9038679ad3fd3cef89ab676f2568b4234e /lldb/packages/Python/lldbsuite/test | |
parent | 0ec6a4882eeb34338b916567f8e63fb71afc84fd (diff) | |
download | bcm5719-llvm-10e0d64337d64ebdb658bf9108bd9bb48fb5390c.tar.gz bcm5719-llvm-10e0d64337d64ebdb658bf9108bd9bb48fb5390c.zip |
CodeGen: set correct result for atomic compound expressions
Atomic compound expressions try to use atomicrmw if possible, but this
path doesn't set the Result variable, leaving it to crash in later code
if anything ever tries to use the result of the expression. This fixes
that issue by recalculating the new value based on the old one
atomically loaded.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions