diff options
author | Martin Storsjö <martin@martin.st> | 2019-10-28 10:28:26 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2019-10-31 11:26:20 +0200 |
commit | 403cd574b6d9fbdae1b39fe9d2576b02c7139486 (patch) | |
tree | 483a5a1092f0179136dbc6476999428621d034ca /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 3db1d138b1172b5855f35ab74dbf3bf327f517d2 (diff) | |
download | llvm-403cd574b6d9fbdae1b39fe9d2576b02c7139486.zip llvm-403cd574b6d9fbdae1b39fe9d2576b02c7139486.tar.gz llvm-403cd574b6d9fbdae1b39fe9d2576b02c7139486.tar.bz2 |
[LLDB] [Windows] Fix Windows-specific race condition in LLDB for session lifetime
This can e.g. happen if the debugged executable exits before the initial
stop, e.g. if it fails to load dependent DLLs.
Add a virtual destructor to ProcessDebugger and let it clean up the
session, and make ProcessWindows::OnExitProcess call
ProcessDebugger::OnExitProcess for shared parts.
Fix suggestion by Adrian McCarthy.
Differential Revision: https://reviews.llvm.org/D69503
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions