Home
last modified time | relevance | path

Searched refs:initFunctions (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/llvm/lld/wasm/
H A DSyntheticSections.h355 LinkingSection(const std::vector<WasmInitEntry> &initFunctions,
358 initFunctions(initFunctions), dataSegments(dataSegments) {}
368 const std::vector<WasmInitEntry> &initFunctions;
H A DWriter.cpp108 std::vector<WasmInitEntry> initFunctions; member in lld::wasm::__anon7a4368e60111::Writer
776 if (initFunctions.empty() && WasmSym::callDtors == nullptr) in createCommandExportWrappers()
1381 if (!WasmSym::callCtors->isLive() && initFunctions.empty()) in createCallCtorsFunction()
1391 for (const WasmInitEntry &f : initFunctions) { in createCallCtorsFunction()
1507 initFunctions.emplace_back(WasmInitEntry{sym, f.Priority}); in calculateInitFunctions()
1513 llvm::stable_sort(initFunctions, in calculateInitFunctions()
1537 out.linkingSec = make<LinkingSection>(initFunctions, segments); in createSyntheticSectionsPostLayout()
H A DSyntheticSections.cpp679 if (!initFunctions.empty()) { in writeBody()
681 writeUleb128(sub.os, initFunctions.size(), "num init functions"); in writeBody()
682 for (const WasmInitEntry &f : initFunctions) { in writeBody()