Home
last modified time | relevance | path

Searched refs:getFunctionIndex (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/lld/wasm/
H A DSymbols.cpp244 uint32_t FunctionSymbol::getFunctionIndex() const { in getFunctionIndex() function in lld::wasm::FunctionSymbol
247 return u->stubFunction->getFunctionIndex(); in getFunctionIndex()
251 return f->function->getFunctionIndex(); in getFunctionIndex()
299 return function->getFunctionIndex(); in getExportedFunctionIndex()
H A DSyntheticSections.cpp540 writeUleb128(os, WasmSym::startFunction->getFunctionIndex(), in writeBody()
593 writeUleb128(os, sym->getFunctionIndex(), "function index"); in writeBody()
634 writeUleb128(sub.os, f->getFunctionIndex(), "index"); in writeBody()
698 ComdatEntry{WASM_COMDAT_FUNCTION, f->getFunctionIndex()}); in writeBody()
777 writeUleb128(sub.os, f->getFunctionIndex(), "func index"); in writeBody()
783 writeUleb128(sub.os, f->getFunctionIndex(), "func index"); in writeBody()
H A DWriter.cpp786 createCommandExportWrapper(f->getFunctionIndex(), def); in createCommandExportWrappers()
1283 writeUleb128(os, WasmSym::applyGlobalRelocs->getFunctionIndex(), in createStartFunction()
1286 writeUleb128(os, WasmSym::initMemory->getFunctionIndex(), in createStartFunction()
1368 writeUleb128(os, f.sym->getFunctionIndex(), "function index"); in createCallCtorsFunction()
1394 writeUleb128(os, WasmSym::callCtors->getFunctionIndex(), in createCommandExportWrapper()
1409 writeUleb128(os, callDtors->getFunctionIndex(), "function index"); in createCommandExportWrapper()
1456 writeUleb128(os, WasmSym::applyGlobalTLSRelocs->getFunctionIndex(), in createInitTLSFunction()
H A DInputChunks.h277 uint32_t getFunctionIndex() const { return functionIndex.value(); } in getFunctionIndex() function
H A DSymbols.h195 uint32_t getFunctionIndex() const;
H A DInputFiles.cpp194 return getFunctionSymbol(reloc.Index)->getFunctionIndex(); in calcNewValue()