aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-05-15 13:30:59 +0000
committerPavel Labath <labath@google.com>2015-05-15 13:30:59 +0000
commit6e35163ccaad7006ed21502d0e6130a7ad5c9d39 (patch)
tree556782600b33a5b6c682fabbbc85f775ba418e62 /llvm/lib/IR/Module.cpp
parent6e1fd35bfe8618b2eedacfff632dc631fa80da1c (diff)
downloadllvm-6e35163ccaad7006ed21502d0e6130a7ad5c9d39.zip
llvm-6e35163ccaad7006ed21502d0e6130a7ad5c9d39.tar.gz
llvm-6e35163ccaad7006ed21502d0e6130a7ad5c9d39.tar.bz2
[NativeProcessLinux] Fix potential race during thread exit
Summary: This is the same issue as we had in D9145 for thread creation. Going through the full ThreadDidStop/RequestResume cycle can cause a deferred notification to fire, which is not correct when we are ignoring an event and resuming the thread. In this case it doesn't matter much since the thread will die after that anyway, but for correctness, we should do the same thing here. Also treating the SIGTRAP case the same way. Test Plan: Tests continue to pass. Reviewers: chaoren, ovyalov Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9696 llvm-svn: 237445
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions