Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lld/wasm/
H A DSymbols.cpp251 uint32_t FunctionSymbol::getFunctionIndex() const { in getFunctionIndex() function in lld::wasm::FunctionSymbol
254 return u->stubFunction->getFunctionIndex(); in getFunctionIndex()
258 return f->function->getFunctionIndex(); in getFunctionIndex()
306 return function->getFunctionIndex(); in getExportedFunctionIndex()
H A DSyntheticSections.cpp542 writeUleb128(os, WasmSym::startFunction->getFunctionIndex(), in writeBody()
595 writeUleb128(os, sym->getFunctionIndex(), "function index"); in writeBody()
635 writeUleb128(sub.os, f->getFunctionIndex(), "index"); in writeBody()
699 ComdatEntry{WASM_COMDAT_FUNCTION, f->getFunctionIndex()}); in writeBody()
778 writeUleb128(sub.os, f->getFunctionIndex(), "func index"); in writeBody()
784 writeUleb128(sub.os, f->getFunctionIndex(), "func index"); in writeBody()
H A DWriter.cpp811 createCommandExportWrapper(f->getFunctionIndex(), def); in createCommandExportWrappers()
1308 writeUleb128(os, WasmSym::applyGlobalRelocs->getFunctionIndex(), in createStartFunction()
1311 writeUleb128(os, WasmSym::initMemory->getFunctionIndex(), in createStartFunction()
1393 writeUleb128(os, f.sym->getFunctionIndex(), "function index"); in createCallCtorsFunction()
1419 writeUleb128(os, WasmSym::callCtors->getFunctionIndex(), in createCommandExportWrapper()
1434 writeUleb128(os, callDtors->getFunctionIndex(), "function index"); in createCommandExportWrapper()
1481 writeUleb128(os, WasmSym::applyGlobalTLSRelocs->getFunctionIndex(), in createInitTLSFunction()
H A DInputChunks.h279 uint32_t getFunctionIndex() const { return *functionIndex; } in getFunctionIndex() function
H A DSymbols.h202 uint32_t getFunctionIndex() const;
H A DInputFiles.cpp196 return getFunctionSymbol(reloc.Index)->getFunctionIndex(); in calcNewValue()