Lines Matching refs:Reloc

1034     wasm::WasmRelocation Reloc = {};  in parseRelocSection()  local
1036 Reloc.Type = type; in parseRelocSection()
1037 Reloc.Offset = readVaruint32(Ctx); in parseRelocSection()
1038 if (Reloc.Offset < PreviousOffset) in parseRelocSection()
1044 msg + ": " + Twine(Symbols[Reloc.Index].Info.Name), in parseRelocSection()
1048 PreviousOffset = Reloc.Offset; in parseRelocSection()
1049 Reloc.Index = readVaruint32(Ctx); in parseRelocSection()
1059 if (!isValidFunctionSymbol(Reloc.Index)) in parseRelocSection()
1063 if (!isValidTableSymbol(Reloc.Index)) in parseRelocSection()
1067 if (Reloc.Index >= Signatures.size()) in parseRelocSection()
1073 if (!isValidGlobalSymbol(Reloc.Index) && in parseRelocSection()
1074 !isValidDataSymbol(Reloc.Index) && in parseRelocSection()
1075 !isValidFunctionSymbol(Reloc.Index)) in parseRelocSection()
1079 if (!isValidGlobalSymbol(Reloc.Index)) in parseRelocSection()
1083 if (!isValidTagSymbol(Reloc.Index)) in parseRelocSection()
1092 if (!isValidDataSymbol(Reloc.Index)) in parseRelocSection()
1094 Reloc.Addend = readVarint32(Ctx); in parseRelocSection()
1101 if (!isValidDataSymbol(Reloc.Index)) in parseRelocSection()
1103 Reloc.Addend = readVarint64(Ctx); in parseRelocSection()
1106 if (!isValidFunctionSymbol(Reloc.Index)) in parseRelocSection()
1108 Reloc.Addend = readVarint32(Ctx); in parseRelocSection()
1111 if (!isValidFunctionSymbol(Reloc.Index)) in parseRelocSection()
1113 Reloc.Addend = readVarint64(Ctx); in parseRelocSection()
1116 if (!isValidSectionSymbol(Reloc.Index)) in parseRelocSection()
1118 Reloc.Addend = readVarint32(Ctx); in parseRelocSection()
1130 if (Reloc.Type == wasm::R_WASM_MEMORY_ADDR_LEB64 || in parseRelocSection()
1131 Reloc.Type == wasm::R_WASM_MEMORY_ADDR_SLEB64 || in parseRelocSection()
1132 Reloc.Type == wasm::R_WASM_MEMORY_ADDR_REL_SLEB64) in parseRelocSection()
1134 if (Reloc.Type == wasm::R_WASM_TABLE_INDEX_I32 || in parseRelocSection()
1135 Reloc.Type == wasm::R_WASM_MEMORY_ADDR_I32 || in parseRelocSection()
1136 Reloc.Type == wasm::R_WASM_MEMORY_ADDR_LOCREL_I32 || in parseRelocSection()
1137 Reloc.Type == wasm::R_WASM_SECTION_OFFSET_I32 || in parseRelocSection()
1138 Reloc.Type == wasm::R_WASM_FUNCTION_OFFSET_I32 || in parseRelocSection()
1139 Reloc.Type == wasm::R_WASM_FUNCTION_INDEX_I32 || in parseRelocSection()
1140 Reloc.Type == wasm::R_WASM_GLOBAL_INDEX_I32) in parseRelocSection()
1142 if (Reloc.Type == wasm::R_WASM_TABLE_INDEX_I64 || in parseRelocSection()
1143 Reloc.Type == wasm::R_WASM_MEMORY_ADDR_I64 || in parseRelocSection()
1144 Reloc.Type == wasm::R_WASM_FUNCTION_OFFSET_I64) in parseRelocSection()
1146 if (Reloc.Offset + Size > EndOffset) in parseRelocSection()
1150 Section.Relocations.push_back(Reloc); in parseRelocSection()