diff options
author | Zachary Turner <zturner@google.com> | 2014-11-17 21:31:30 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-11-17 21:31:30 +0000 |
commit | 1019695b38bf65ad7d54faa62466cc7b67267aea (patch) | |
tree | 176643285bd21a2334eb25e2b31f9f76c333c7f8 /lldb/source/Plugins/Process/Windows/ForwardDecl.h | |
parent | d553d00c79eb250a10cd3ad8b45103ff0be0c9ee (diff) | |
download | bcm5719-llvm-1019695b38bf65ad7d54faa62466cc7b67267aea.tar.gz bcm5719-llvm-1019695b38bf65ad7d54faa62466cc7b67267aea.zip |
Move the thread logic around to fit better into LLDB's process model.
Previously we were directly updating the thread list and stopping
and restarting the process every time threads were created. With
this patch, we queue up thread launches and thread exits, resolve
these all internally, and only update the threads when we get an
UpdateThreadList call. We now only update the private state on
an actual stop (i.e. breakpoint).
llvm-svn: 222178
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/ForwardDecl.h')
-rw-r--r-- | lldb/source/Plugins/Process/Windows/ForwardDecl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Process/Windows/ForwardDecl.h b/lldb/source/Plugins/Process/Windows/ForwardDecl.h index 2fa9b9e5d31..249dfe88e29 100644 --- a/lldb/source/Plugins/Process/Windows/ForwardDecl.h +++ b/lldb/source/Plugins/Process/Windows/ForwardDecl.h @@ -18,11 +18,11 @@ class ProcessWindows; // the exception. enum class ExceptionResult { - Handled, // The delegate handled the exception. Continue. - NotHandled, // The delegate did not handle the exception. Keep - // searching. - WillHandle // The delegate will handle the exception. Do not - // process further debug events until it finishes. + BreakInDebugger, // Break in the debugger and give the user a chance to interact with + // the program before continuing. + MaskException, // Eat the exception and don't let the application know it occurred. + SendToApplication // Send the exception to the application to be handled as if there were + // no debugger attached. }; namespace lldb_private |