hanchenye-llvm-project/lldb
Pavel Labath ebc7135f8e 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
2016-05-10 07:54:25 +00:00
..
cmake Fix standalone build on RHEL6. 2016-05-06 17:03:09 +00:00
docs test commit 2016-04-25 19:02:05 +00:00
examples Another little example use of scripted thread plans. 2016-05-03 00:14:52 +00:00
include/lldb Revert r268591 2016-05-05 21:10:28 +00:00
lit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:14:05 +00:00
lldb.xcodeproj Import block pointers from DWARF as Clang block pointers, not as structs. 2016-05-02 21:15:31 +00:00
lldb.xcworkspace
packages/Python/lldbsuite Fix race in TestExitDuringStep and unify pseudo_barrier handling 2016-05-10 07:54:25 +00:00
resources Bump the lldb version # in the xcode project files from 2016-03-15 04:36:11 +00:00
scripts Add the ability to limit "source regexp" breakpoints to a particular function 2016-04-28 01:40:57 +00:00
source Fixed multiline expressions, and removed some dead code. 2016-05-09 21:13:27 +00:00
test
third_party/Python/module
tools debugserver; fix -Wunused-local-typedef, -Wunused-variable warnings 2016-05-06 17:33:13 +00:00
unittests Revert "Add a read_full_buffer argument to ConnectionFileDescriptor::Read" 2016-05-03 14:07:41 +00:00
utils
www
.arcconfig
.clang-format
.gitignore
CMakeLists.txt Fix NetBSD build with CMake 3.5.2 2016-05-01 10:23:24 +00:00
CODE_OWNERS.txt
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py