Files
clang-p2996/lldb/source/Commands/CommandObjectStats.h
Davide Italiano 10166c7468 [Commands] Add a (currently empty) stats command.
This one will be used to print statistics about lldb sessions
(including, e.g. number of expression evaluation succeeded or
failed). I decided to commit the skeleton first so that we have
a clean reference on how a command should be implemented.
My future commits are going to populate this command and test
it.

<rdar://problem/36555975>

llvm-svn: 328378
2018-03-23 21:55:48 +00:00

28 lines
801 B
C++

//===-- CommandObjectStats.h ------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef liblldb_CommandObjectStats_h_
#define liblldb_CommandObjectStats_h_
#include "lldb/Interpreter/CommandObject.h"
namespace lldb_private {
class CommandObjectStats : public CommandObjectParsed {
public:
CommandObjectStats(CommandInterpreter &interpreter);
~CommandObjectStats() override;
protected:
bool DoExecute(Args &command, CommandReturnObject &result) override;
};
} // namespace lldb_private
#endif // liblldb_CommandObjectLanguage_h_