OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
TPEF::AOutSymbolSectionReader::CompilationModule Struct Reference
Collaboration diagram for TPEF::AOutSymbolSectionReader::CompilationModule:
Collaboration graph

Public Member Functions

 CompilationModule (Word startAddress)
 

Public Attributes

Word startAddress_
 Start address of linked compilation module in a.out. More...
 
std::map< Word, SectionOffsetresources_
 Resources id replacements for the compilation module. More...
 

Detailed Description

Map of recources for each compilation module.

In linked a.out the same resource symbols are added for every different compilation unit, with a different value.

This class stores information how resource ids should be replaced for instructions starting from startAddress. There is own replacement map for each compilation unit.

Definition at line 127 of file AOutSymbolSectionReader.hh.

Constructor & Destructor Documentation

◆ CompilationModule()

TPEF::AOutSymbolSectionReader::CompilationModule::CompilationModule ( Word  startAddress)
inline

Definition at line 128 of file AOutSymbolSectionReader.hh.

128  :
129  startAddress_(startAddress) {
130  }

Member Data Documentation

◆ resources_

std::map<Word, SectionOffset> TPEF::AOutSymbolSectionReader::CompilationModule::resources_

Resources id replacements for the compilation module.

Definition at line 136 of file AOutSymbolSectionReader.hh.

Referenced by TPEF::AOutSymbolSectionReader::finalize().

◆ startAddress_

Word TPEF::AOutSymbolSectionReader::CompilationModule::startAddress_

Start address of linked compilation module in a.out.

Definition at line 133 of file AOutSymbolSectionReader.hh.

Referenced by TPEF::AOutSymbolSectionReader::finalize().


The documentation for this struct was generated from the following file:
TPEF::AOutSymbolSectionReader::CompilationModule::startAddress_
Word startAddress_
Start address of linked compilation module in a.out.
Definition: AOutSymbolSectionReader.hh:133