Searched refs:initFunctions (Results 1 – 3 of 3) sorted by relevance
354 LinkingSection(const std::vector<WasmInitEntry> &initFunctions,357 initFunctions(initFunctions), dataSegments(dataSegments) {}367 const std::vector<WasmInitEntry> &initFunctions;
107 std::vector<WasmInitEntry> initFunctions; member in lld::wasm::__anonee217dbf0111::Writer751 if (initFunctions.empty() && WasmSym::callDtors == nullptr) in createCommandExportWrappers()1356 if (!WasmSym::callCtors->isLive() && initFunctions.empty()) in createCallCtorsFunction()1366 for (const WasmInitEntry &f : initFunctions) { in createCallCtorsFunction()1482 initFunctions.emplace_back(WasmInitEntry{sym, f.Priority}); in calculateInitFunctions()1488 llvm::stable_sort(initFunctions, in calculateInitFunctions()1512 out.linkingSec = make<LinkingSection>(initFunctions, segments); in createSyntheticSectionsPostLayout()
678 if (!initFunctions.empty()) { in writeBody()680 writeUleb128(sub.os, initFunctions.size(), "num init functions"); in writeBody()681 for (const WasmInitEntry &f : initFunctions) { in writeBody()