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

Function GetSectionName

src/binary.cc:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33const char* GetSectionName(BinarySection sec) {
34 switch (sec) {
35#define V(Name, name, code) \
36 case BinarySection::Name: \
37 return #Name;
38 WABT_FOREACH_BINARY_SECTION(V)
39#undef V
40 default:
41 WABT_UNREACHABLE;
42 }
43}
44
45// clang-format off
46const char* NameSubsectionName[] = {

Callers 9

GetSymbolNameMethod · 0.85
BeginSectionMethod · 0.85
OnSectionSymbolMethod · 0.85
BeginSectionMethod · 0.85
OnRelocCountMethod · 0.85
OnSectionSymbolMethod · 0.85
ReadSectionsMethod · 0.85
BeginKnownSectionMethod · 0.85
AddRelocMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected