LLDB mainline
Tool.cpp File Reference
#include "Tool.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Host/File.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Protocol/MCP/Protocol.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/UriParser.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include <cstdint>
#include <optional>

Go to the source code of this file.

Functions

static lldb::FileSP openNull (File::OpenOptions options)
 Opens the platform null device with the given options, or nullptr on error.

Function Documentation

◆ openNull()

lldb::FileSP openNull ( File::OpenOptions options)
static

Opens the platform null device with the given options, or nullptr on error.

Definition at line 155 of file Plugins/Protocol/MCP/Tool.cpp.

References lldb_private::FileSystem::DEV_NULL, lldb_private::FileSystem::Instance(), and lldb_private::FileSystem::Open().

Referenced by lldb_private::mcp::DebuggerCreateTool::Call().