summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-05-28 13:41:08 +0000
committerPavel Labath <labath@google.com>2015-05-28 13:41:08 +0000
commitfb7d5b8384a58fcf59518273e8aeade078acd44b (patch)
tree3607af656fe2bee5c9a145c3ae046030bb0e2652 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
parentb2f399264d2ec868dbad3bebfd36f5cfb9e269ed (diff)
downloadbcm5719-llvm-fb7d5b8384a58fcf59518273e8aeade078acd44b.tar.gz
bcm5719-llvm-fb7d5b8384a58fcf59518273e8aeade078acd44b.zip
Fix race in IOHandlerProcessSTDIO
Summary: IOHandlerProcessSTDIO::Run() was opening the pipe for interrupt requests lazily. This was racing with another thread executing IOHandlerProcessSTDIO::Cancel() simultaneously. I fix this by opening the pipe in the object constructor. The pipe will be automatically closed when the object is destroyed. Test Plan: Tests pass on linux. Reviewers: clayborg, ribrdb Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10060 llvm-svn: 238423
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud