aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/XCOFFObjectFile.cpp
diff options
context:
space:
mode:
authorJason Molenda <jason@molenda.com>2023-07-12 16:02:05 -0700
committerJason Molenda <jason@molenda.com>2023-07-12 16:03:57 -0700
commit71548de4d885b74e7291db55e8705417ffd49c95 (patch)
tree94a9924d57aefd179a480aedf81a84e77cc128d7 /llvm/lib/Object/XCOFFObjectFile.cpp
parent5007c78ce0936824972ec6ba3cfa598192087ee1 (diff)
downloadllvm-71548de4d885b74e7291db55e8705417ffd49c95.zip
llvm-71548de4d885b74e7291db55e8705417ffd49c95.tar.gz
llvm-71548de4d885b74e7291db55e8705417ffd49c95.tar.bz2
Improve error msg in DNBProcessAttach if we can't stop inferior
When we attach to a process, we task_for_pid(), ptrace(), and then we try to halt execution of the process and time out after thirty seconds if we cannot interrupt it. At this point, we must assume we have no control of the inferior process and the attach has failed. The error message we return currently is "operation timed out"; this change improves on that error message to make it more clear what is going on. Thanks to Jim for pointing this out. rdar://101152233
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions