diff options
author | Pavel Labath <labath@google.com> | 2015-09-01 10:59:36 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-09-01 10:59:36 +0000 |
commit | 86852d3676b8d3f12bbac36f107d44a5b73afcc8 (patch) | |
tree | 9a5623b37c8ab9f82be0ce646d40c00464b23ddd /llvm/lib/CodeGen/UnreachableBlockElim.cpp | |
parent | 55f5c3d43b21ccb3fcb93ad1ad2e7ff886950a6e (diff) | |
download | bcm5719-llvm-86852d3676b8d3f12bbac36f107d44a5b73afcc8.tar.gz bcm5719-llvm-86852d3676b8d3f12bbac36f107d44a5b73afcc8.zip |
[NativeProcessLinux] Fix assertion failure when killing a process
Linux sometimes sends us a PTRACE_EVENT_EXIT when an inferior process gets a SIGKILL. This can be
confusing, since normally we don't expect any events when the inferior is stopped. This commit
adds code to handle this situation (resume the thread and let it exit normally) and avoid an
assertion failure in ResumeThread().
llvm-svn: 246539
Diffstat (limited to 'llvm/lib/CodeGen/UnreachableBlockElim.cpp')
0 files changed, 0 insertions, 0 deletions