class UncachedLazySymbol
Defined at line 128 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.h
Use for references from a child symbol object to its parent.
Public Methods
void UncachedLazySymbol ()
Defined at line 88 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc
void UncachedLazySymbol (const UncachedLazySymbol & other)
Defined at line 90 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc
void UncachedLazySymbol (UncachedLazySymbol && other)
Defined at line 92 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc
void UncachedLazySymbol (fxl::RefPtr<const SymbolFactory> factory, uint64_t die_offset)
Defined at line 94 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc
void ~UncachedLazySymbol ()
Defined at line 101 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc
UncachedLazySymbol & operator= (const UncachedLazySymbol & other)
Defined at line 103 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc
UncachedLazySymbol & operator= (UncachedLazySymbol && other)
Defined at line 104 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc
fxl::RefPtr<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 a null pointer.
Defined at line 111 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc
LazySymbol GetCached (fxl::RefPtr<Symbol> cached_value)
Returns a LazySymbol that references the same symbol as this object. This can be used in cases
where you need a LazySymbol from an uncached one. This is safe as long as you're not storing it
in such a way that it will create a reference cycle.
If known in advance, the cached result may be provided as an optimization.
Defined at line 117 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc
LazySymbol GetCached ()
Defined at line 123 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc
UncachedLazySymbol MakeUnsafe (fxl::RefPtr<Symbol> symbol)
Makes an object with a static reference to an explicit symbol. Used for tests.
Most code should use SymbolParentSetter which is less likely to cause leaks in tests. This
should normally only be called with a new object with no references to its children to avoid
a cycle. The normal example is the code that sets a mock unit for a test symbol in order to
control its language.
Defined at line 107 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.cc
bool is_valid ()
Defined at line 138 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.h
bool operator bool ()
Defined at line 139 of file ../../src/developer/debug/zxdb/symbols/lazy_symbol.h