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

#include <BreakpadRecords.h>

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

Public Types

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

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
 

Private Attributes

Kind TheKind
 

Detailed Description

Definition at line 21 of file BreakpadRecords.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Module 
Info 
File 
Func 
Inline 
InlineOrigin 
Line 
Public 
StackCFI 
StackWin 

Definition at line 23 of file BreakpadRecords.h.

Constructor & Destructor Documentation

◆ Record()

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

Definition at line 42 of file BreakpadRecords.h.

Referenced by lldb_private::breakpad::InlineRecord::parse().

◆ ~Record()

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

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 129 of file BreakpadRecords.cpp.

References File, Func, Info, Inline, InlineOrigin, Line, Module, Public, StackCFI, and StackWin.

Referenced by lldb_private::breakpad::ObjectFileBreakpad::CreateSections().

◆ getKind()

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

Definition at line 47 of file BreakpadRecords.h.

References TheKind.

Member Data Documentation

◆ TheKind

Kind lldb_private::breakpad::Record::TheKind
private

Definition at line 50 of file BreakpadRecords.h.

Referenced by getKind().


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