reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
761 Reloc.Type = readVaruint32(Ctx); 762 Reloc.Offset = readVaruint32(Ctx); 763 if (Reloc.Offset < PreviousOffset) 766 PreviousOffset = Reloc.Offset; 767 Reloc.Index = readVaruint32(Ctx); 768 switch (Reloc.Type) { 773 if (!isValidFunctionSymbol(Reloc.Index)) 778 if (Reloc.Index >= Signatures.size()) 785 if (!isValidGlobalSymbol(Reloc.Index) && 786 !isValidDataSymbol(Reloc.Index) && 787 !isValidFunctionSymbol(Reloc.Index)) 792 if (!isValidEventSymbol(Reloc.Index)) 800 if (!isValidDataSymbol(Reloc.Index)) 803 Reloc.Addend = readVarint32(Ctx); 806 if (!isValidFunctionSymbol(Reloc.Index)) 809 Reloc.Addend = readVarint32(Ctx); 812 if (!isValidSectionSymbol(Reloc.Index)) 815 Reloc.Addend = readVarint32(Ctx); 819 Twine(Reloc.Type), 827 if (Reloc.Type == wasm::R_WASM_TABLE_INDEX_I32 || 828 Reloc.Type == wasm::R_WASM_MEMORY_ADDR_I32 || 829 Reloc.Type == wasm::R_WASM_SECTION_OFFSET_I32 || 830 Reloc.Type == wasm::R_WASM_FUNCTION_OFFSET_I32) 832 if (Reloc.Offset + Size > EndOffset) 836 Section.Relocations.push_back(Reloc);