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

#include <SymbolFileBreakpad.h>

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

Classes

struct  Bookmark
 
class  CompUnitData
 
class  LineIterator
 
struct  UnwindData
 

Public Member Functions

 SymbolFileBreakpad (lldb::ObjectFileSP objfile_sp)
 
 ~SymbolFileBreakpad () override=default
 
uint32_t CalculateAbilities () override
 
void InitializeObject () override
 Initialize the SymbolFile object. More...
 
lldb::LanguageType ParseLanguage (CompileUnit &comp_unit) override
 
lldb::FunctionSP GetOrCreateFunction (CompileUnit &comp_unit)
 
size_t ParseFunctions (CompileUnit &comp_unit) override
 
bool ParseLineTable (CompileUnit &comp_unit) override
 
bool ParseDebugMacros (CompileUnit &comp_unit) override
 
bool ParseSupportFiles (CompileUnit &comp_unit, FileSpecList &support_files) override
 
size_t ParseTypes (CompileUnit &cu) override
 
bool ParseImportedModules (const SymbolContext &sc, std::vector< lldb_private::SourceModule > &imported_modules) override
 
size_t ParseBlocksRecursive (Function &func) override
 
void FindGlobalVariables (ConstString name, const CompilerDeclContext &parent_decl_ctx, uint32_t max_matches, VariableList &variables) override
 
size_t ParseVariablesForContext (const SymbolContext &sc) override
 
TypeResolveTypeUID (lldb::user_id_t type_uid) override
 
llvm::Optional< ArrayInfoGetDynamicArrayInfoForUID (lldb::user_id_t type_uid, const lldb_private::ExecutionContext *exe_ctx) override
 If type_uid points to an array type, return its characteristics. More...
 
bool CompleteType (CompilerType &compiler_type) override
 
uint32_t ResolveSymbolContext (const Address &so_addr, lldb::SymbolContextItem resolve_scope, SymbolContext &sc) override
 
uint32_t ResolveSymbolContext (const SourceLocationSpec &src_location_spec, lldb::SymbolContextItem resolve_scope, SymbolContextList &sc_list) override
 
void GetTypes (SymbolContextScope *sc_scope, lldb::TypeClass type_mask, TypeList &type_list) override
 
void FindFunctions (const Module::LookupInfo &lookup_info, const CompilerDeclContext &parent_decl_ctx, bool include_inlines, SymbolContextList &sc_list) override
 
void FindFunctions (const RegularExpression &regex, bool include_inlines, SymbolContextList &sc_list) override
 
void FindTypes (ConstString name, const CompilerDeclContext &parent_decl_ctx, uint32_t max_matches, llvm::DenseSet< SymbolFile * > &searched_symbol_files, TypeMap &types) override
 
void FindTypes (llvm::ArrayRef< CompilerContext > pattern, LanguageSet languages, llvm::DenseSet< SymbolFile * > &searched_symbol_files, TypeMap &types) override
 
llvm::Expected< lldb::TypeSystemSP > GetTypeSystemForLanguage (lldb::LanguageType language) override
 
CompilerDeclContext FindNamespace (ConstString name, const CompilerDeclContext &parent_decl_ctx) override
 
void AddSymbols (Symtab &symtab) override
 
llvm::Expected< lldb::addr_tGetParameterStackSize (Symbol &symbol) override
 Return the number of stack bytes taken up by the parameters to this function. More...
 
lldb::UnwindPlanSP GetUnwindPlan (const Address &address, const RegisterInfoResolver &resolver) override
 
llvm::StringRef GetPluginName () override
 
uint64_t GetDebugInfoSize () override
 Metrics gathering functions. More...
 
- Public Member Functions inherited from lldb_private::SymbolFileCommon
 SymbolFileCommon (lldb::ObjectFileSP objfile_sp)
 
 ~SymbolFileCommon () override=default
 
uint32_t GetAbilities () override
 Get a mask of what this symbol file supports for the object file that it was constructed with. More...
 
SymtabGetSymtab () override
 
ObjectFileGetObjectFile () override
 
const ObjectFileGetObjectFile () const override
 
ObjectFileGetMainObjectFile () override
 
void SectionFileAddressesChanged () override
 Notify the SymbolFile that the file addresses in the Sections for this module have been changed. More...
 
uint32_t GetNumCompileUnits () override
 
lldb::CompUnitSP GetCompileUnitAtIndex (uint32_t idx) override
 
void Dump (Stream &s) override
 
bool GetDebugInfoIndexWasLoadedFromCache () const override
 Accessors for the bool that indicates if the debug info index was loaded from, or saved to the module index cache. More...
 
void SetDebugInfoIndexWasLoadedFromCache () override
 
bool GetDebugInfoIndexWasSavedToCache () const override
 
void SetDebugInfoIndexWasSavedToCache () override
 
bool GetDebugInfoHadFrameVariableErrors () const override
 Accessors for the bool that indicates if there was debug info, but errors stopped variables from being able to be displayed correctly. More...
 
void SetDebugInfoHadFrameVariableErrors () override
 
- Public Member Functions inherited from lldb_private::SymbolFile
 SymbolFile ()=default
 
 ~SymbolFile () override=default
 
virtual SymbolFileGetBackingSymbolFile ()
 SymbolFileOnDemand class overrides this to return the underlying backing SymbolFile implementation that loads on-demand. More...
 
virtual std::recursive_mutex & GetModuleMutex () const
 Symbols file subclasses should override this to return the Module that owns the TypeSystem that this symbol file modifies type information in. More...
 
virtual bool GetLoadDebugInfoEnabled ()
 Whether debug info will be loaded or not. More...
 
virtual void SetLoadDebugInfoEnabled ()
 Specify debug info should be loaded. More...
 
virtual XcodeSDK ParseXcodeSDK (CompileUnit &comp_unit)
 Return the Xcode SDK comp_unit was compiled against. More...
 
virtual bool ForEachExternalModule (lldb_private::CompileUnit &comp_unit, llvm::DenseSet< lldb_private::SymbolFile * > &visited_symbol_files, llvm::function_ref< bool(Module &)> lambda)
 Apply a lambda to each external lldb::Module referenced by this comp_unit. More...
 
virtual bool ParseIsOptimized (CompileUnit &comp_unit)
 
virtual void ParseDeclsForContext (CompilerDeclContext decl_ctx)
 
virtual CompilerDecl GetDeclForUID (lldb::user_id_t uid)
 
virtual CompilerDeclContext GetDeclContextForUID (lldb::user_id_t uid)
 
virtual CompilerDeclContext GetDeclContextContainingUID (lldb::user_id_t uid)
 
Status GetFrameVariableError (StackFrame &frame)
 Get an error that describes why variables might be missing for a given symbol context. More...
 
virtual Status CalculateFrameVariableError (StackFrame &frame)
 Subclasses will override this function to for GetFrameVariableError(). More...
 
virtual void DumpClangAST (Stream &s)
 
virtual void FindGlobalVariables (const RegularExpression &regex, uint32_t max_matches, VariableList &variables)
 
virtual void FindTypes (ConstString name, const CompilerDeclContext &parent_decl_ctx, uint32_t max_matches, llvm::DenseSet< lldb_private::SymbolFile * > &searched_symbol_files, TypeMap &types)
 
virtual void FindTypes (llvm::ArrayRef< CompilerContext > pattern, LanguageSet languages, llvm::DenseSet< lldb_private::SymbolFile * > &searched_symbol_files, TypeMap &types)
 Find types specified by a CompilerContextPattern. More...
 
virtual void GetMangledNamesForFunction (const std::string &scope_qualified_name, std::vector< ConstString > &mangled_names)
 
virtual void PreloadSymbols ()
 
virtual std::vector< std::unique_ptr< CallEdge > > ParseCallEdgesInFunction (UserID func_id)
 
virtual StatsDuration::Duration GetDebugInfoParseTime ()
 Return the time taken to parse the debug information. More...
 
virtual StatsDuration::Duration GetDebugInfoIndexTime ()
 Return the time it took to index the debug information in the object file. More...
 
virtual ModuleList GetDebugInfoModules ()
 Get the additional modules that this symbol file uses to parse debug info. More...
 
- Public Member Functions inherited from lldb_private::PluginInterface
 PluginInterface ()=default
 
virtual ~PluginInterface ()=default
 
 PluginInterface (const PluginInterface &)=delete
 
PluginInterfaceoperator= (const PluginInterface &)=delete
 

Static Public Member Functions

static void Initialize ()
 
static void Terminate ()
 
static void DebuggerInitialize (Debugger &debugger)
 
static llvm::StringRef GetPluginNameStatic ()
 
static llvm::StringRef GetPluginDescriptionStatic ()
 
static SymbolFileCreateInstance (lldb::ObjectFileSP objfile_sp)
 
- Static Public Member Functions inherited from lldb_private::SymbolFileCommon
static bool classof (const SymbolFileCommon *obj)
 
- Static Public Member Functions inherited from lldb_private::SymbolFile
static SymbolFileFindPlugin (lldb::ObjectFileSP objfile_sp)
 
static bool classof (const SymbolFile *obj)
 

Private Types

using CompUnitMap = RangeDataVector< lldb::addr_t, lldb::addr_t, CompUnitData >
 
using UnwindMap = RangeDataVector< lldb::addr_t, lldb::addr_t, Bookmark >
 

Private Member Functions

llvm::iterator_range< LineIteratorlines (Record::Kind section_type)
 
uint32_t CalculateNumCompileUnits () override
 
lldb::CompUnitSP ParseCompileUnitAtIndex (uint32_t index) override
 
lldb::addr_t GetBaseFileAddress ()
 
void ParseFileRecords ()
 
void ParseCUData ()
 
void ParseLineTableAndSupportFiles (CompileUnit &cu, CompUnitData &data)
 
void ParseUnwindData ()
 
llvm::ArrayRef< uint8_t > SaveAsDWARF (postfix::Node &node)
 
lldb::UnwindPlanSP ParseCFIUnwindPlan (const Bookmark &bookmark, const RegisterInfoResolver &resolver)
 
bool ParseCFIUnwindRow (llvm::StringRef unwind_rules, const RegisterInfoResolver &resolver, UnwindPlan::Row &row)
 
lldb::UnwindPlanSP ParseWinUnwindPlan (const Bookmark &bookmark, const RegisterInfoResolver &resolver)
 
void ParseInlineOriginRecords ()
 

Private Attributes

llvm::Optional< std::vector< FileSpec > > m_files
 
llvm::Optional< CompUnitMapm_cu_data
 
llvm::Optional< std::vector< llvm::StringRef > > m_inline_origins
 
llvm::Optional< UnwindDatam_unwind_data
 
llvm::BumpPtrAllocator m_allocator
 

Static Private Attributes

static char ID
 LLVM RTTI support. More...
 
bool isA (const void *ClassID) const override
 LLVM RTTI support. More...
 
static bool classof (const SymbolFile *obj)
 

Additional Inherited Members

- Public Types inherited from lldb_private::SymbolFile
enum  Abilities {
  CompileUnits = (1u << 0), LineTables = (1u << 1), Functions = (1u << 2), Blocks = (1u << 3),
  GlobalVariables = (1u << 4), LocalVariables = (1u << 5), VariableTypes = (1u << 6), kAllAbilities = ((1u << 7) - 1u)
}
 
- Protected Member Functions inherited from lldb_private::SymbolFileCommon
virtual TypeListGetTypeList ()
 
void SetCompileUnitAtIndex (uint32_t idx, const lldb::CompUnitSP &cu_sp)
 
- Protected Member Functions inherited from lldb_private::SymbolFile
void AssertModuleLock ()
 
- Protected Attributes inherited from lldb_private::SymbolFileCommon
lldb::ObjectFileSP m_objfile_sp
 
llvm::Optional< std::vector< lldb::CompUnitSP > > m_compile_units
 
TypeList m_type_list
 
Symtabm_symtab = nullptr
 
uint32_t m_abilities = 0
 
bool m_calculated_abilities = false
 
bool m_index_was_loaded_from_cache = false
 
bool m_index_was_saved_to_cache = false
 
bool m_debug_info_had_variable_errors = false
 Set to true if any variable feteching errors have been found when calling GetFrameVariableError(). More...
 

Detailed Description

Definition at line 23 of file SymbolFileBreakpad.h.

Member Typedef Documentation

◆ CompUnitMap

Definition at line 227 of file SymbolFileBreakpad.h.

◆ UnwindMap

Definition at line 233 of file SymbolFileBreakpad.h.

Constructor & Destructor Documentation

◆ SymbolFileBreakpad()

lldb_private::breakpad::SymbolFileBreakpad::SymbolFileBreakpad ( lldb::ObjectFileSP  objfile_sp)
inline

Definition at line 51 of file SymbolFileBreakpad.h.

Referenced by CreateInstance().

◆ ~SymbolFileBreakpad()

lldb_private::breakpad::SymbolFileBreakpad::~SymbolFileBreakpad ( )
overridedefault

Member Function Documentation

◆ AddSymbols()

void SymbolFileBreakpad::AddSymbols ( Symtab symtab)
overridevirtual

◆ CalculateAbilities()

uint32_t SymbolFileBreakpad::CalculateAbilities ( )
overridevirtual

Implements lldb_private::SymbolFile.

Definition at line 180 of file SymbolFileBreakpad.cpp.

◆ CalculateNumCompileUnits()

uint32_t SymbolFileBreakpad::CalculateNumCompileUnits ( )
overrideprivatevirtual

Implements lldb_private::SymbolFileCommon.

Definition at line 187 of file SymbolFileBreakpad.cpp.

◆ classof()

static bool lldb_private::breakpad::SymbolFileBreakpad::classof ( const SymbolFile obj)
inlinestatic

Definition at line 33 of file SymbolFileBreakpad.h.

References ID, and lldb_private::SymbolFile::isA().

◆ CompleteType()

bool lldb_private::breakpad::SymbolFileBreakpad::CompleteType ( CompilerType compiler_type)
inlineoverridevirtual

Implements lldb_private::SymbolFile.

Definition at line 101 of file SymbolFileBreakpad.h.

◆ CreateInstance()

static SymbolFile* lldb_private::breakpad::SymbolFileBreakpad::CreateInstance ( lldb::ObjectFileSP  objfile_sp)
inlinestatic

Definition at line 46 of file SymbolFileBreakpad.h.

References SymbolFileBreakpad().

◆ DebuggerInitialize()

static void lldb_private::breakpad::SymbolFileBreakpad::DebuggerInitialize ( Debugger debugger)
inlinestatic

Definition at line 39 of file SymbolFileBreakpad.h.

◆ FindFunctions() [1/2]

void SymbolFileBreakpad::FindFunctions ( const Module::LookupInfo lookup_info,
const CompilerDeclContext parent_decl_ctx,
bool  include_inlines,
SymbolContextList sc_list 
)
overridevirtual

◆ FindFunctions() [2/2]

void SymbolFileBreakpad::FindFunctions ( const RegularExpression regex,
bool  include_inlines,
SymbolContextList sc_list 
)
overridevirtual

Reimplemented from lldb_private::SymbolFile.

Definition at line 444 of file SymbolFileBreakpad.cpp.

◆ FindGlobalVariables()

void lldb_private::breakpad::SymbolFileBreakpad::FindGlobalVariables ( ConstString  name,
const CompilerDeclContext parent_decl_ctx,
uint32_t  max_matches,
VariableList variables 
)
inlineoverridevirtual

Reimplemented from lldb_private::SymbolFile.

Definition at line 86 of file SymbolFileBreakpad.h.

◆ FindNamespace()

CompilerDeclContext lldb_private::breakpad::SymbolFileBreakpad::FindNamespace ( ConstString  name,
const CompilerDeclContext parent_decl_ctx 
)
inlineoverridevirtual

Reimplemented from lldb_private::SymbolFile.

Definition at line 137 of file SymbolFileBreakpad.h.

◆ FindTypes() [1/2]

void SymbolFileBreakpad::FindTypes ( ConstString  name,
const CompilerDeclContext parent_decl_ctx,
uint32_t  max_matches,
llvm::DenseSet< SymbolFile * > &  searched_symbol_files,
TypeMap types 
)
override

Definition at line 450 of file SymbolFileBreakpad.cpp.

◆ FindTypes() [2/2]

void SymbolFileBreakpad::FindTypes ( llvm::ArrayRef< CompilerContext pattern,
LanguageSet  languages,
llvm::DenseSet< SymbolFile * > &  searched_symbol_files,
TypeMap types 
)
override

Definition at line 455 of file SymbolFileBreakpad.cpp.

◆ GetBaseFileAddress()

addr_t SymbolFileBreakpad::GetBaseFileAddress ( )
private

Definition at line 784 of file SymbolFileBreakpad.cpp.

◆ GetDebugInfoSize()

uint64_t SymbolFileBreakpad::GetDebugInfoSize ( )
overridevirtual

Metrics gathering functions.

Return the size in bytes of all debug information in the symbol file.

If the debug information is contained in sections of an ObjectFile, then this call should add the size of all sections that contain debug information. Symbols the symbol tables are not considered debug information for this call to make it easy and quick for this number to be calculated. If the symbol file is all debug information, the size of the entire file should be returned. The default implementation of this function will iterate over all sections in a module and add up their debug info only section byte sizes.

Reimplemented from lldb_private::SymbolFileCommon.

Definition at line 927 of file SymbolFileBreakpad.cpp.

◆ GetDynamicArrayInfoForUID()

llvm::Optional<ArrayInfo> lldb_private::breakpad::SymbolFileBreakpad::GetDynamicArrayInfoForUID ( lldb::user_id_t  type_uid,
const lldb_private::ExecutionContext exe_ctx 
)
inlineoverridevirtual

If type_uid points to an array type, return its characteristics.

To support variable-length array types, this function takes an optional ExecutionContext. If exe_ctx is non-null, the dynamic characteristics for that context are returned.

Implements lldb_private::SymbolFile.

Definition at line 95 of file SymbolFileBreakpad.h.

◆ GetOrCreateFunction()

FunctionSP SymbolFileBreakpad::GetOrCreateFunction ( CompileUnit comp_unit)

◆ GetParameterStackSize()

llvm::Expected< lldb::addr_t > SymbolFileBreakpad::GetParameterStackSize ( Symbol symbol)
overridevirtual

Return the number of stack bytes taken up by the parameters to this function.

Reimplemented from lldb_private::SymbolFile.

Definition at line 509 of file SymbolFileBreakpad.cpp.

References lldb_private::Symbol::GetAddress(), and lldb_private::Address::GetFileAddress().

◆ GetPluginDescriptionStatic()

static llvm::StringRef lldb_private::breakpad::SymbolFileBreakpad::GetPluginDescriptionStatic ( )
inlinestatic

Definition at line 42 of file SymbolFileBreakpad.h.

◆ GetPluginName()

llvm::StringRef lldb_private::breakpad::SymbolFileBreakpad::GetPluginName ( )
inlineoverridevirtual

Implements lldb_private::PluginInterface.

Definition at line 150 of file SymbolFileBreakpad.h.

References GetPluginNameStatic().

◆ GetPluginNameStatic()

static llvm::StringRef lldb_private::breakpad::SymbolFileBreakpad::GetPluginNameStatic ( )
inlinestatic

Definition at line 40 of file SymbolFileBreakpad.h.

Referenced by GetPluginName().

◆ GetTypes()

void lldb_private::breakpad::SymbolFileBreakpad::GetTypes ( SymbolContextScope sc_scope,
lldb::TypeClass  type_mask,
TypeList type_list 
)
inlineoverridevirtual

Implements lldb_private::SymbolFile.

Definition at line 110 of file SymbolFileBreakpad.h.

◆ GetTypeSystemForLanguage()

llvm::Expected<lldb::TypeSystemSP> lldb_private::breakpad::SymbolFileBreakpad::GetTypeSystemForLanguage ( lldb::LanguageType  language)
inlineoverridevirtual

Reimplemented from lldb_private::SymbolFileCommon.

Definition at line 130 of file SymbolFileBreakpad.h.

◆ GetUnwindPlan()

UnwindPlanSP SymbolFileBreakpad::GetUnwindPlan ( const Address address,
const RegisterInfoResolver resolver 
)
overridevirtual

Reimplemented from lldb_private::SymbolFile.

Definition at line 637 of file SymbolFileBreakpad.cpp.

References lldb_private::Address::GetFileAddress().

◆ Initialize()

void SymbolFileBreakpad::Initialize ( )
static

Definition at line 170 of file SymbolFileBreakpad.cpp.

◆ InitializeObject()

void lldb_private::breakpad::SymbolFileBreakpad::InitializeObject ( )
inlineoverridevirtual

Initialize the SymbolFile object.

The SymbolFile object with the best set of abilities (detected in "uint32_t SymbolFile::GetAbilities()) will have this function called if it is chosen to parse an object file. More complete initialization can happen in this function which will get called prior to any other functions in the SymbolFile protocol.

Reimplemented from lldb_private::SymbolFile.

Definition at line 58 of file SymbolFileBreakpad.h.

◆ isA()

bool lldb_private::breakpad::SymbolFileBreakpad::isA ( const void *  ClassID) const
inlineoverridevirtual

LLVM RTTI support.

Reimplemented from lldb_private::SymbolFileCommon.

Definition at line 30 of file SymbolFileBreakpad.h.

References ID, and lldb_private::SymbolFileCommon::isA().

◆ lines()

llvm::iterator_range< SymbolFileBreakpad::LineIterator > SymbolFileBreakpad::lines ( Record::Kind  section_type)
private

Definition at line 132 of file SymbolFileBreakpad.cpp.

◆ ParseBlocksRecursive()

size_t SymbolFileBreakpad::ParseBlocksRecursive ( Function func)
overridevirtual

◆ ParseCFIUnwindPlan()

UnwindPlanSP SymbolFileBreakpad::ParseCFIUnwindPlan ( const Bookmark bookmark,
const RegisterInfoResolver resolver 
)
private

◆ ParseCFIUnwindRow()

bool SymbolFileBreakpad::ParseCFIUnwindRow ( llvm::StringRef  unwind_rules,
const RegisterInfoResolver resolver,
UnwindPlan::Row row 
)
private

◆ ParseCompileUnitAtIndex()

CompUnitSP SymbolFileBreakpad::ParseCompileUnitAtIndex ( uint32_t  index)
overrideprivatevirtual

◆ ParseCUData()

void SymbolFileBreakpad::ParseCUData ( )
private

Definition at line 814 of file SymbolFileBreakpad.cpp.

References lldb_private::GetLog(), LLDB_INVALID_ADDRESS, and LLDB_LOG.

◆ ParseDebugMacros()

bool lldb_private::breakpad::SymbolFileBreakpad::ParseDebugMacros ( CompileUnit comp_unit)
inlineoverridevirtual

Implements lldb_private::SymbolFile.

Definition at line 72 of file SymbolFileBreakpad.h.

◆ ParseFileRecords()

void SymbolFileBreakpad::ParseFileRecords ( )
private

Definition at line 793 of file SymbolFileBreakpad.cpp.

References lldb_private::GetLog(), and LLDB_LOG.

◆ ParseFunctions()

size_t SymbolFileBreakpad::ParseFunctions ( CompileUnit comp_unit)
overridevirtual

Implements lldb_private::SymbolFile.

Definition at line 263 of file SymbolFileBreakpad.cpp.

◆ ParseImportedModules()

bool lldb_private::breakpad::SymbolFileBreakpad::ParseImportedModules ( const SymbolContext sc,
std::vector< lldb_private::SourceModule > &  imported_modules 
)
inlineoverridevirtual

Implements lldb_private::SymbolFile.

Definition at line 78 of file SymbolFileBreakpad.h.

◆ ParseInlineOriginRecords()

void SymbolFileBreakpad::ParseInlineOriginRecords ( )
private

Definition at line 346 of file SymbolFileBreakpad.cpp.

References lldb_private::GetLog(), and LLDB_LOG.

◆ ParseLanguage()

lldb::LanguageType lldb_private::breakpad::SymbolFileBreakpad::ParseLanguage ( CompileUnit comp_unit)
inlineoverridevirtual

Implements lldb_private::SymbolFile.

Definition at line 62 of file SymbolFileBreakpad.h.

References lldb::eLanguageTypeUnknown.

◆ ParseLineTable()

bool SymbolFileBreakpad::ParseLineTable ( CompileUnit comp_unit)
overridevirtual

◆ ParseLineTableAndSupportFiles()

void SymbolFileBreakpad::ParseLineTableAndSupportFiles ( CompileUnit cu,
CompUnitData data 
)
private

◆ ParseSupportFiles()

bool SymbolFileBreakpad::ParseSupportFiles ( CompileUnit comp_unit,
FileSpecList &  support_files 
)
overridevirtual

◆ ParseTypes()

size_t lldb_private::breakpad::SymbolFileBreakpad::ParseTypes ( CompileUnit cu)
inlineoverridevirtual

Implements lldb_private::SymbolFile.

Definition at line 76 of file SymbolFileBreakpad.h.

◆ ParseUnwindData()

void SymbolFileBreakpad::ParseUnwindData ( )
private

Definition at line 893 of file SymbolFileBreakpad.cpp.

References lldb_private::GetLog(), LLDB_INVALID_ADDRESS, and LLDB_LOG.

◆ ParseVariablesForContext()

size_t lldb_private::breakpad::SymbolFileBreakpad::ParseVariablesForContext ( const SymbolContext sc)
inlineoverridevirtual

Implements lldb_private::SymbolFile.

Definition at line 91 of file SymbolFileBreakpad.h.

◆ ParseWinUnwindPlan()

UnwindPlanSP SymbolFileBreakpad::ParseWinUnwindPlan ( const Bookmark bookmark,
const RegisterInfoResolver resolver 
)
private

◆ ResolveSymbolContext() [1/2]

uint32_t lldb_private::breakpad::SymbolFileBreakpad::ResolveSymbolContext ( const Address so_addr,
lldb::SymbolContextItem  resolve_scope,
SymbolContext sc 
)
overridevirtual

◆ ResolveSymbolContext() [2/2]

uint32_t SymbolFileBreakpad::ResolveSymbolContext ( const SourceLocationSpec src_location_spec,
lldb::SymbolContextItem  resolve_scope,
SymbolContextList sc_list 
)
overridevirtual

◆ ResolveTypeUID()

Type* lldb_private::breakpad::SymbolFileBreakpad::ResolveTypeUID ( lldb::user_id_t  type_uid)
inlineoverridevirtual

Implements lldb_private::SymbolFile.

Definition at line 94 of file SymbolFileBreakpad.h.

◆ SaveAsDWARF()

llvm::ArrayRef< uint8_t > SymbolFileBreakpad::SaveAsDWARF ( postfix::Node node)
private

◆ Terminate()

void SymbolFileBreakpad::Terminate ( )
static

Definition at line 176 of file SymbolFileBreakpad.cpp.

Member Data Documentation

◆ ID

char SymbolFileBreakpad::ID
staticprivate

LLVM RTTI support.

Definition at line 25 of file SymbolFileBreakpad.h.

Referenced by classof(), and isA().

◆ m_allocator

llvm::BumpPtrAllocator lldb_private::breakpad::SymbolFileBreakpad::m_allocator
private

Definition at line 239 of file SymbolFileBreakpad.h.

◆ m_cu_data

llvm::Optional<CompUnitMap> lldb_private::breakpad::SymbolFileBreakpad::m_cu_data
private

Definition at line 230 of file SymbolFileBreakpad.h.

◆ m_files

llvm::Optional<std::vector<FileSpec> > lldb_private::breakpad::SymbolFileBreakpad::m_files
private

Definition at line 229 of file SymbolFileBreakpad.h.

◆ m_inline_origins

llvm::Optional<std::vector<llvm::StringRef> > lldb_private::breakpad::SymbolFileBreakpad::m_inline_origins
private

Definition at line 231 of file SymbolFileBreakpad.h.

◆ m_unwind_data

llvm::Optional<UnwindData> lldb_private::breakpad::SymbolFileBreakpad::m_unwind_data
private

Definition at line 238 of file SymbolFileBreakpad.h.


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