LLDB mainline
ErrorMessages.cpp
Go to the documentation of this file.
1//===-- ErrorMessages.cpp -------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
10#include "llvm/Support/ErrorHandling.h"
11
12namespace lldb_private {
13
15 switch (e) {
17 return "expression setup error";
19 return "expression parse error";
21 return "expression error";
23 return "expression completed successfully";
25 return "expression discarded";
27 return "expression interrupted";
29 return "expression hit breakpoint";
31 return "expression timed out";
33 return "expression stop at entry point for debugging";
35 return "expression thread vanished";
36 }
37 llvm_unreachable("unhandled enumerator");
38}
39
40} // namespace lldb_private
A class that represents a running process on the host machine.
const char * toString(AppleArm64ExceptionClass EC)
ExpressionResults
The results of expression evaluation.
@ eExpressionTimedOut
@ eExpressionCompleted
@ eExpressionHitBreakpoint
@ eExpressionInterrupted
@ eExpressionDiscarded
@ eExpressionParseError
@ eExpressionStoppedForDebug
@ eExpressionResultUnavailable
@ eExpressionThreadVanished
@ eExpressionSetupError