LLDB mainline
CommandObjectVersion.cpp
Go to the documentation of this file.
1//===-- CommandObjectVersion.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
13
14using namespace lldb;
15using namespace lldb_private;
16
17// CommandObjectVersion
18
20 : CommandObjectParsed(interpreter, "version",
21 "Show the LLDB debugger version.", "version") {}
22
24
28 return true;
29}
A command line argument class.
Definition: Args.h:33
bool DoExecute(Args &args, CommandReturnObject &result) override
CommandObjectVersion(CommandInterpreter &interpreter)
void SetStatus(lldb::ReturnStatus status)
void AppendMessageWithFormat(const char *format,...) __attribute__((format(printf
A class that represents a running process on the host machine.
const char * GetVersion()
Retrieves a string representing the complete LLDB version, which includes the lldb version number,...
Definition: Version.cpp:38
Definition: SBAddress.h:15
@ eReturnStatusSuccessFinishResult