summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lldbbench.py
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-05-10 07:54:25 +0000
committerPavel Labath <labath@google.com>2016-05-10 07:54:25 +0000
commitebc7135f8e529470c9745e8324d74f48f0fc3749 (patch)
treecf18e8340883179ea63f0dbd0361bd058cbab5b9 /lldb/packages/Python/lldbsuite/test/lldbbench.py
parentbdb54eb4573f554854531cfebde54f102b618d68 (diff)
downloadbcm5719-llvm-ebc7135f8e529470c9745e8324d74f48f0fc3749.tar.gz
bcm5719-llvm-ebc7135f8e529470c9745e8324d74f48f0fc3749.zip
Fix race in TestExitDuringStep and unify pseudo_barrier handling
Summary: TestExitDuringStep was very rarely hanging on the buildbots. I can't be sure, but I believe this was because of the fact that it declared its pseudo_barrier variable as "volatile int", which is not sufficient to guarantee corectness (also, all other tests used atomic variables for this, and they were passing reliably AFAIK). Besides switching to an atomic variable in this test as well, I have also took this opportunity to unify all the copies of the pseudo_barrier code to a single place to reduce the chance of this happening again. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D20065 llvm-svn: 269025
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbbench.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud