diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-05-23 13:27:01 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-05-23 13:27:31 -0700 |
commit | f2ffa33c79d3d0636d6c8eb7b5b7bcf8db7b397b (patch) | |
tree | 0c5e4c3b46cdca7d907423e93653c2351a6f8aa0 /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | 2e43bab1c161a97df4883def3c4c4a8b92883377 (diff) | |
download | llvm-f2ffa33c79d3d0636d6c8eb7b5b7bcf8db7b397b.zip llvm-f2ffa33c79d3d0636d6c8eb7b5b7bcf8db7b397b.tar.gz llvm-f2ffa33c79d3d0636d6c8eb7b5b7bcf8db7b397b.tar.bz2 |
[lldb/Interpreter] Fix another eExpressionThreadVanished warning
Fixes warning: enumeration value 'eExpressionThreadVanished' not handled
in switch [-Wswitch] in CommandInterpreter.cpp.
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 1cd71b0..5b1159a 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -1605,6 +1605,11 @@ Status CommandInterpreter::PreprocessCommand(std::string &command) { error.SetErrorStringWithFormat( "expression interrupted for the expression '%s'", expr_str.c_str()); break; + case eExpressionThreadVanished: + error.SetErrorStringWithFormat( + "expression thread disappeared for the expression '%s'", + expr_str.c_str()); + break; case eExpressionHitBreakpoint: error.SetErrorStringWithFormat( "expression hit breakpoint for the expression '%s'", |