diff options
author | Jason Molenda <jason@molenda.com> | 2023-07-12 16:02:05 -0700 |
---|---|---|
committer | Jason Molenda <jason@molenda.com> | 2023-07-12 16:03:57 -0700 |
commit | 71548de4d885b74e7291db55e8705417ffd49c95 (patch) | |
tree | 94a9924d57aefd179a480aedf81a84e77cc128d7 /llvm/lib/Object/XCOFFObjectFile.cpp | |
parent | 5007c78ce0936824972ec6ba3cfa598192087ee1 (diff) | |
download | llvm-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