MCPcopy Create free account
hub / github.com/WebAssembly/wabt / Get

Method Get

src/binary-reader-objdump.cc:2485–2490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2483} // end anonymous namespace
2484
2485std::string_view ObjdumpNames::Get(Index index) const {
2486 auto iter = names.find(index);
2487 if (iter == names.end())
2488 return std::string_view();
2489 return iter->second;
2490}
2491
2492void ObjdumpNames::Set(Index index, std::string_view name) {
2493 names[index] = std::string(name);

Callers 8

GetTypeNameMethod · 0.45
GetFunctionNameMethod · 0.45
GetGlobalNameMethod · 0.45
GetLocalNameMethod · 0.45
GetSectionNameMethod · 0.45
GetTagNameMethod · 0.45
GetSegmentNameMethod · 0.45
GetTableNameMethod · 0.45

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected