Skip to content

Commit 79faa63

Browse files
echristojimingham
authored andcommitted
Handle eExpressionThreadVanished in error switch to handle
covered switch warning.
1 parent 9c8d204 commit 79faa63

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lldb/source/Interpreter/CommandInterpreter.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,6 +1601,11 @@ Status CommandInterpreter::PreprocessCommand(std::string &command) {
16011601
"expression '%s'",
16021602
expr_str.c_str());
16031603
break;
1604+
case eExpressionThreadVanished:
1605+
error.SetErrorStringWithFormat(
1606+
"expression thread vanished for the expression '%s'",
1607+
expr_str.c_str());
1608+
break;
16041609
}
16051610
}
16061611
}

0 commit comments

Comments
 (0)