summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/command/source/my.py
diff options
context:
space:
mode:
authorTim Northover <t.p.northover@gmail.com>2019-11-07 13:36:03 +0000
committerTim Northover <t.p.northover@gmail.com>2019-11-07 13:36:44 +0000
commit10e0d64337d64ebdb658bf9108bd9bb48fb5390c (patch)
tree1feb4f9038679ad3fd3cef89ab676f2568b4234e /lldb/packages/Python/lldbsuite/test/commands/command/source/my.py
parent0ec6a4882eeb34338b916567f8e63fb71afc84fd (diff)
downloadbcm5719-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/commands/command/source/my.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud