Lines Matching refs:reloc
88 for (const WasmRelocation &reloc : chunk->getRelocations()) { in scanRelocations() local
89 if (reloc.Type == R_WASM_TYPE_INDEX_LEB) { in scanRelocations()
91 file->typeMap[reloc.Index] = in scanRelocations()
92 out.typeSec->registerType(types[reloc.Index]); in scanRelocations()
93 file->typeIsUsed[reloc.Index] = true; in scanRelocations()
98 Symbol *sym = file->getSymbols()[reloc.Index]; in scanRelocations()
100 switch (reloc.Type) { in scanRelocations()
119 error(toString(file) + ": relocation " + relocTypeToString(reloc.Type) + in scanRelocations()
129 relocTypeToString(reloc.Type) + in scanRelocations()
136 relocTypeToString(reloc.Type) + " cannot be used against `" + in scanRelocations()
148 switch (reloc.Type) { in scanRelocations()
157 error(toString(file) + ": relocation " + relocTypeToString(reloc.Type) + in scanRelocations()