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

Method add_file

src/mdebug.cpp:509–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507 }
508private:
509 void add_file(std::string&& filename) {
510 files_.emplace_back(MDebugFile{
511 .filename = std::move(filename),
512 .symbols = {}
513 });
514 }
515 void add_symbol(size_t file_index, MDebugSymbol&& sym) {
516 symbols_by_name_.emplace(sym.name, std::make_pair(file_index, files_[file_index].symbols.size()));
517 files_[file_index].symbols.emplace_back(std::move(sym));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected