summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2017-01-06 06:22:31 +0000
committerLang Hames <lhames@gmail.com>2017-01-06 06:22:31 +0000
commit702b3e494f0931dfb670c5106003a954f03eb987 (patch)
tree77d1e3c8044ef89ec83ab8d97a264e71ca068d61 /lldb/source/Plugins/ScriptInterpreter/Python
parentf2a62751162e6e23579394615d1ca9ab71415e59 (diff)
downloadbcm5719-llvm-702b3e494f0931dfb670c5106003a954f03eb987.tar.gz
bcm5719-llvm-702b3e494f0931dfb670c5106003a954f03eb987.zip
[Orc][RPC] Fix an obvious locking-order bug in RawByteChannel::startSendMessage.
The lock needs to be acquired before the data is sent, not afterwards. This think-o slipped in during the refactor in r286620, but went unnoticed as the resulting bug only manifests in multi-threaded clients (of which there are none in-tree). No unit test as the bug depends on thread scheduling. llvm-svn: 291216
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud