LLDB  mainline
Functions
BreakpadRecords.cpp File Reference
#include "Plugins/ObjectFile/Breakpad/BreakpadRecords.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/FormatVariadic.h"
Include dependency graph for BreakpadRecords.cpp:

Go to the source code of this file.

Functions

template<typename T >
static T stringTo (llvm::StringRef Str)
 
template<>
Token stringTo< Token > (llvm::StringRef Str)
 
template<>
llvm::Triple::OSType stringTo< llvm::Triple::OSType > (llvm::StringRef Str)
 
template<>
llvm::Triple::ArchType stringTo< llvm::Triple::ArchType > (llvm::StringRef Str)
 
template<typename T >
static T consume (llvm::StringRef &Str)
 
template<typename T >
static constexpr size_t hex_digits ()
 Return the number of hex digits needed to encode an (POD) object of a given type. More...
 
static UUID parseModuleId (llvm::Triple::OSType os, llvm::StringRef str)
 
static bool parsePublicOrFunc (llvm::StringRef Line, bool &Multiple, lldb::addr_t &Address, lldb::addr_t *Size, lldb::addr_t &ParamSize, llvm::StringRef &Name)
 

Function Documentation

◆ consume()

template<typename T >
static T consume ( llvm::StringRef &  Str)
static

Definition at line 80 of file BreakpadRecords.cpp.

◆ hex_digits()

template<typename T >
static constexpr size_t hex_digits ( )
staticconstexpr

Return the number of hex digits needed to encode an (POD) object of a given type.

Definition at line 88 of file BreakpadRecords.cpp.

◆ parseModuleId()

static UUID parseModuleId ( llvm::Triple::OSType  os,
llvm::StringRef  str 
)
static

◆ parsePublicOrFunc()

static bool parsePublicOrFunc ( llvm::StringRef  Line,
bool &  Multiple,
lldb::addr_t Address,
lldb::addr_t Size,
lldb::addr_t ParamSize,
llvm::StringRef &  Name 
)
static

◆ stringTo()

template<typename T >
static T stringTo ( llvm::StringRef  Str)
static

◆ stringTo< llvm::Triple::ArchType >()

template<>
llvm::Triple::ArchType stringTo< llvm::Triple::ArchType > ( llvm::StringRef  Str)

Definition at line 63 of file BreakpadRecords.cpp.

◆ stringTo< llvm::Triple::OSType >()

template<>
llvm::Triple::OSType stringTo< llvm::Triple::OSType > ( llvm::StringRef  Str)

Definition at line 53 of file BreakpadRecords.cpp.

◆ stringTo< Token >()

template<>
Token stringTo< Token > ( llvm::StringRef  Str)

Definition at line 37 of file BreakpadRecords.cpp.

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