summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-vscode/LLDBUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/lldb-vscode/LLDBUtils.h')
-rw-r--r--lldb/tools/lldb-vscode/LLDBUtils.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/lldb/tools/lldb-vscode/LLDBUtils.h b/lldb/tools/lldb-vscode/LLDBUtils.h
index 2d7c07f7737..4e0da17d97b 100644
--- a/lldb/tools/lldb-vscode/LLDBUtils.h
+++ b/lldb/tools/lldb-vscode/LLDBUtils.h
@@ -18,7 +18,6 @@
namespace lldb_vscode {
-///----------------------------------------------------------------------
/// Run a list of LLDB commands in the LLDB command interpreter.
///
/// All output from every command, including the prompt + the command
@@ -34,12 +33,10 @@ namespace lldb_vscode {
/// \param[in] strm
/// The stream that will receive the prefix, prompt + command and
/// all command output.
-//----------------------------------------------------------------------
void RunLLDBCommands(llvm::StringRef prefix,
const llvm::ArrayRef<std::string> &commands,
llvm::raw_ostream &strm);
-///----------------------------------------------------------------------
/// Run a list of LLDB commands in the LLDB command interpreter.
///
/// All output from every command, including the prompt + the command
@@ -55,11 +52,9 @@ void RunLLDBCommands(llvm::StringRef prefix,
/// \return
/// A std::string that contains the prefix and all commands and
/// command output
-//----------------------------------------------------------------------
std::string RunLLDBCommands(llvm::StringRef prefix,
const llvm::ArrayRef<std::string> &commands);
-///----------------------------------------------------------------------
/// Check if a thread has a stop reason.
///
/// \param[in] thread
@@ -68,10 +63,8 @@ std::string RunLLDBCommands(llvm::StringRef prefix,
/// \return
/// \b True if the thread has a valid stop reason, \b false
/// otherwise.
-//----------------------------------------------------------------------
bool ThreadHasStopReason(lldb::SBThread &thread);
-///----------------------------------------------------------------------
/// Given a LLDB frame, make a frame ID that is unique to a specific
/// thread and frame.
///
@@ -85,10 +78,8 @@ bool ThreadHasStopReason(lldb::SBThread &thread);
/// \return
/// A unique integer that allows us to easily find the right
/// stack frame within a thread on subsequent VS code requests.
-//----------------------------------------------------------------------
int64_t MakeVSCodeFrameID(lldb::SBFrame &frame);
-///----------------------------------------------------------------------
/// Given a VSCode frame ID, convert to a LLDB thread index id.
///
/// VSCode requires a Stackframe "id" to be unique, so we use the frame
@@ -100,10 +91,8 @@ int64_t MakeVSCodeFrameID(lldb::SBFrame &frame);
///
/// \return
/// The LLDB thread index ID.
-//----------------------------------------------------------------------
uint32_t GetLLDBThreadIndexID(uint64_t dap_frame_id);
-///----------------------------------------------------------------------
/// Given a VSCode frame ID, convert to a LLDB frame ID.
///
/// VSCode requires a Stackframe "id" to be unique, so we use the frame
@@ -115,10 +104,8 @@ uint32_t GetLLDBThreadIndexID(uint64_t dap_frame_id);
///
/// \return
/// The LLDB frame index ID.
-//----------------------------------------------------------------------
uint32_t GetLLDBFrameID(uint64_t dap_frame_id);
-///----------------------------------------------------------------------
/// Given a LLDB breakpoint, make a breakpoint ID that is unique to a
/// specific breakpoint and breakpoint location.
///
@@ -132,10 +119,8 @@ uint32_t GetLLDBFrameID(uint64_t dap_frame_id);
/// \return
/// A unique integer that allows us to easily find the right
/// stack frame within a thread on subsequent VS code requests.
-//----------------------------------------------------------------------
int64_t MakeVSCodeBreakpointID(lldb::SBBreakpointLocation &bp_loc);
-///----------------------------------------------------------------------
/// Given a VSCode breakpoint ID, convert to a LLDB breakpoint ID.
///
/// VSCode requires a Breakpoint "id" to be unique, so we use the
@@ -147,10 +132,8 @@ int64_t MakeVSCodeBreakpointID(lldb::SBBreakpointLocation &bp_loc);
///
/// \return
/// The LLDB breakpoint ID.
-//----------------------------------------------------------------------
uint32_t GetLLDBBreakpointID(uint64_t dap_breakpoint_id);
-///----------------------------------------------------------------------
/// Given a VSCode breakpoint ID, convert to a LLDB breakpoint location ID.
///
/// VSCode requires a Breakpoint "id" to be unique, so we use the
@@ -162,7 +145,6 @@ uint32_t GetLLDBBreakpointID(uint64_t dap_breakpoint_id);
///
/// \return
/// The LLDB breakpoint location ID.
-//----------------------------------------------------------------------
uint32_t GetLLDBBreakpointLocationID(uint64_t dap_breakpoint_id);
} // namespace lldb_vscode
OpenPOWER on IntegriCloud