Searched refs:CodeSection (Results 1 – 16 of 16) sorted by relevance
83 void CodeSection::finalizeContents() { in finalizeContents()101 void CodeSection::writeTo(uint8_t *buf) { in writeTo()120 uint32_t CodeSection::getNumRelocations() const { in getNumRelocations()127 void CodeSection::writeRelocations(raw_ostream &os) const { in writeRelocations()
59 class CodeSection : public OutputSection {61 explicit CodeSection(ArrayRef<InputFunction *> functions) in CodeSection() function
124 if (auto *code = dyn_cast<CodeSection>(osec)) { in writeMapFile()
406 addSection(make<CodeSection>(out.functionSec->inputFunctions)); in addSections()
551 for (const auto& CodeSection : MemMgr.FunctionMemory) in remapSectionsAndSymbols() local552 Worklist.push_back(std::make_pair(CodeSection.base(), CodeSection.size())); in remapSectionsAndSymbols()
146 static void sectionMapping(IO &IO, WasmYAML::CodeSection &Section) { in sectionMapping()257 Section.reset(new WasmYAML::CodeSection()); in mapping()258 sectionMapping(IO, *cast<WasmYAML::CodeSection>(Section.get())); in mapping()
49 void writeSectionContent(raw_ostream &OS, WasmYAML::CodeSection &Section);462 WasmYAML::CodeSection &Section) { in writeSectionContent()584 else if (auto S = dyn_cast<WasmYAML::CodeSection>(Sec.get())) in writeWasm()
49 void writeSectionContent(raw_ostream &OS, WasmYAML::CodeSection &Section);484 WasmYAML::CodeSection &Section) { in writeSectionContent()610 else if (auto S = dyn_cast<WasmYAML::CodeSection>(Sec.get())) in writeWasm()
147 static void sectionMapping(IO &IO, WasmYAML::CodeSection &Section) { in sectionMapping()258 Section.reset(new WasmYAML::CodeSection()); in mapping()259 sectionMapping(IO, *cast<WasmYAML::CodeSection>(Section.get())); in mapping()
362 struct CodeSection : Section { struct363 CodeSection() : Section(wasm::WASM_SEC_CODE) {} in CodeSection() argument
366 struct CodeSection : Section { struct367 CodeSection() : Section(wasm::WASM_SEC_CODE) {} in CodeSection() argument
288 uint32_t CodeSection = 0; variable
645 for (const auto& CodeSection : MemMgr.FunctionMemory) in remapSectionsAndSymbols() local646 Worklist.push_back(&CodeSection); in remapSectionsAndSymbols()
299 uint32_t CodeSection = 0; variable
1139 CodeSection = Sections.size(); in parseCodeSection()1370 Ref.d.a = CodeSection; in getSymbolSection()
1287 CodeSection = Sections.size(); in parseCodeSection()1536 return CodeSection; in getSymbolSectionIdImpl()