struct FoundUnit
Defined at line 63 of file ../../src/developer/debug/zxdb/symbols/module_symbols.h
Encapsulates a requested unit.
In the case of debug fission, the detailed symbols for each object file are split out, but the
line information and the address tables are kept in the main binary.
This structure encapsulates this information. When a unit is found in a non-debug-fission
binary, everything is in the same place and the two pointers will be the same. In the case of a
debug fission binary, the main_binary_unit will be the "skeleton unit" in the main binary,
while the details_unit will refer to the full symbols in the .dwo file.
This scheme allows calling code to lookup based on what it's used for rather than encoding
debug-fission-specific logic at each site.
The pointers will be invalid if there is no unit found. They should both either be valid or
null, but not a combination.
Public Members
RefPtr main_binary_unit
RefPtr details_unit
Public Methods
bool operator bool ()
Returns true if the pointers are valid.
Defined at line 65 of file ../../src/developer/debug/zxdb/symbols/module_symbols.h