class LazySymbol

Defined at line 82 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.h

Use for references from a parent symbol object to its children.

Public Methods

void LazySymbol ()

Defined at line 52 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc

void LazySymbol (const LazySymbol & other)

Defined at line 54 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc

void LazySymbol (LazySymbol && other)

Defined at line 56 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc

void ~LazySymbol ()

Defined at line 68 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc

void LazySymbol (fxl::RefPtr<const SymbolFactory> factory, uint64_t die_offset, fxl::RefPtr<Symbol> pre_cached)

If the value of the cached object is known at creation time, it can be provided as the

pre_cached parameter. Otherwise it is fine to leave this empty (it is an optimization to

prevent re-decoding).

Defined at line 58 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc

void LazySymbol (fxl::RefPtr<const SymbolFactory> factory, uint64_t die_offset)

Defined at line 62 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc

void LazySymbol (const Symbol * symbol)

Defined at line 33 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc

LazySymbol & operator= (const LazySymbol & other)

Defined at line 65 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc

LazySymbol & operator= (LazySymbol && other)

Defined at line 66 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc

const Symbol * Get ()

Returns the type associated with this LazySymbol. If this class is invalid or the symbol fails

to resolve this will return an empty one. It will never return null.

Defined at line 70 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc

template <class SymbolType>
void LazySymbol (fxl::RefPtr<SymbolType> symbol)

Implicitly creates a non-lazy one with a pre-cooked object, mostly for tests.

Take the symbol factory and DIE offset from the Symbol. This is used for some comparison

operations so must be set even when we have a symbol object already.

Defined at line 101 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.h

bool is_valid ()

Defined at line 106 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.h

bool operator bool ()

Defined at line 107 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.h