LLDB  mainline
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
lldb_private::breakpad::Record Class Reference

#include <BreakpadRecords.h>

Inheritance diagram for lldb_private::breakpad::Record:
Inheritance graph
[legend]

Public Types

enum  Kind {
  Module, Info, File, Func,
  Line, Public, StackCFI
}
 

Public Member Functions

Kind getKind ()
 

Static Public Member Functions

static llvm::Optional< Kindclassify (llvm::StringRef Line)
 Attempt to guess the kind of the record present in the argument without doing a full parse. More...
 

Protected Member Functions

 Record (Kind K)
 
 ~Record ()=default
 

Detailed Description

Definition at line 21 of file BreakpadRecords.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Module 
Info 
File 
Func 
Line 
Public 
StackCFI 

Definition at line 23 of file BreakpadRecords.h.

Constructor & Destructor Documentation

◆ Record()

lldb_private::breakpad::Record::Record ( Kind  K)
inlineprotected

Definition at line 31 of file BreakpadRecords.h.

References ~Record().

◆ ~Record()

lldb_private::breakpad::Record::~Record ( )
protecteddefault

Referenced by Record().

Member Function Documentation

◆ classify()

llvm::Optional< Record::Kind > Record::classify ( llvm::StringRef  Line)
static

Attempt to guess the kind of the record present in the argument without doing a full parse.

The returned kind will always be correct for valid records, but the full parse can still fail in case of corrupted input.

Definition at line 112 of file BreakpadRecords.cpp.

References File, lldb_private::File, Func, Info, Line, Module, lldb_private::Module, lldb_private::None, Public, StackCFI, and lldb_private::Unknown.

◆ getKind()

Kind lldb_private::breakpad::Record::getKind ( )
inline

Definition at line 36 of file BreakpadRecords.h.

References lldb_private::breakpad::toString().


The documentation for this class was generated from the following files: