aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-03-26 20:41:14 +0000
committerZachary Turner <zturner@google.com>2015-03-26 20:41:14 +0000
commite6d213a84ad4497c82efd9ff2d4b7e7afb7eb6d1 (patch)
tree5fb6cfb29dac140a9a4e72e0ee3b5848e297a35a /clang/lib/Basic/Module.cpp
parent3303eff774452454992b6d128ef05afd77dbc38f (diff)
downloadllvm-e6d213a84ad4497c82efd9ff2d4b7e7afb7eb6d1.zip
llvm-e6d213a84ad4497c82efd9ff2d4b7e7afb7eb6d1.tar.gz
llvm-e6d213a84ad4497c82efd9ff2d4b7e7afb7eb6d1.tar.bz2
Fix a race condition in Target::Launch
When no hijack listener is set up, the global event listener will try to pull events off the queue, racing with the event thread. By always forcing a hijack listener, even when one was not given, we guarantee that the listener always gets all events. This was causing problems in synchronous mode with the process stop event sometimes never being picked up and causing the debugger to hang while processing a .lldbinit file. Reviewed by: Jim Ingham Differential Revision: http://reviews.llvm.org/D8562 llvm-svn: 233315
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions