MCPcopy Create free account
hub / github.com/N64Recomp/N64Recomp / is_reference_section_relocatable

Method is_reference_section_relocatable

include/recompiler/context.h:415–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413 }
414
415 bool is_reference_section_relocatable(uint16_t section_index) const {
416 if (all_reference_sections_relocatable) {
417 return true;
418 }
419 if (section_index == SectionAbsolute) {
420 return false;
421 }
422 else if (section_index == SectionImport || section_index == SectionEvent) {
423 return true;
424 }
425 return reference_sections[section_index].relocatable;
426 }
427
428 bool add_reference_symbol(const std::string& symbol_name, uint16_t section_index, uint32_t vram, bool is_function) {
429 uint32_t section_vram;

Callers 3

read_sectionsFunction · 0.80
process_instructionFunction · 0.80
build_mod_contextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected