diff options
author | Aaron Smith <aaron.smith@microsoft.com> | 2018-10-10 18:30:32 +0000 |
---|---|---|
committer | Aaron Smith <aaron.smith@microsoft.com> | 2018-10-10 18:30:32 +0000 |
commit | e30379043076ce612b9d576d45015623d8ab8917 (patch) | |
tree | bfaae92aac225b13045a4f3fd37c3c89410c5884 /llvm/tools/llvm-opt-report/OptReport.cpp | |
parent | fca28db904325441ebb9d98678f06e82caffdcfc (diff) | |
download | bcm5719-llvm-e30379043076ce612b9d576d45015623d8ab8917.tar.gz bcm5719-llvm-e30379043076ce612b9d576d45015623d8ab8917.zip |
[Windows] Fix a bug that causes lldb to freeze
Summary:
If the process exits before any initial stop then notify the debugger
of the error otherwise WaitForDebuggerConnection() will be blocked.
An example of this issue is when a process fails to load a dependent DLL.
In addition to the fix, remove a duplicate call to FreeProcessHandles() in
DebuggerThread::HandleExitProcessEvent() and use decimal format
for all thread IDs.
Reviewers: rnk, zturner, aleksandr.urakov
Reviewed By: zturner
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D53090
llvm-svn: 344168
Diffstat (limited to 'llvm/tools/llvm-opt-report/OptReport.cpp')
0 files changed, 0 insertions, 0 deletions