Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lld/wasm/
H A DSyntheticSections.h354 LinkingSection(const std::vector<WasmInitEntry> &initFunctions,
357 initFunctions(initFunctions), dataSegments(dataSegments) {}
367 const std::vector<WasmInitEntry> &initFunctions;
H A DWriter.cpp107 std::vector<WasmInitEntry> initFunctions; member in lld::wasm::__anonee217dbf0111::Writer
751 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()
H A DSyntheticSections.cpp678 if (!initFunctions.empty()) { in writeBody()
680 writeUleb128(sub.os, initFunctions.size(), "num init functions"); in writeBody()
681 for (const WasmInitEntry &f : initFunctions) { in writeBody()