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

Method find_reference_symbol

include/recompiler/context.h:361–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 }
360
361 bool find_reference_symbol(const std::string& symbol_name, SymbolReference& ref_out) const {
362 auto find_sym_it = reference_symbols_by_name.find(symbol_name);
363
364 // Check if the symbol was found.
365 if (find_sym_it == reference_symbols_by_name.end()) {
366 return false;
367 }
368
369 ref_out = find_sym_it->second;
370 return true;
371 }
372
373 bool reference_symbol_exists(const std::string& symbol_name) const {
374 SymbolReference dummy_ref;

Callers 1

read_sectionsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected