RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
Represents a reference stored in a linker script. More...
#include <reference.h>
Public Member Functions | |
Reference (std::variant< std::string, offset_t > offset=offset_t(0)) | |
Reference (std::string segment, std::variant< std::string, offset_t > offset=offset_t(0)) | |
Location | ToLocation (Module &module) const |
Converts to location, resolving the symbol if it is a symbol. | |
Public Attributes | |
std::optional< std::string > | segment |
std::variant< std::string, offset_t > | offset |
Represents a reference stored in a linker script.
Such a reference may be resolved to a symbol or location.