RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Linker::Reference Class Reference

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
 

Detailed Description

Represents a reference stored in a linker script.

Such a reference may be resolved to a symbol or location.


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