Searched refs:CodeSection (Results 1 – 11 of 11) sorted by relevance
49 void CodeSection::finalizeContents() {66 void CodeSection::writeTo(uint8_t *buf) { in finalizeContents() 85 uint32_t CodeSection::getNumRelocations() const { in writeTo() 92 void CodeSection::writeRelocations(raw_ostream &os) const { in getNumRelocations()
56 class CodeSection : public OutputSection {58 explicit CodeSection(ArrayRef<InputFunction *> functions) in CodeSection() function
128 if (auto *code = dyn_cast<CodeSection>(osec)) { in writeMapFile()
549 addSection(make<CodeSection>(out.functionSec->inputFunctions)); in addSections()
152 static void sectionMapping(IO &IO, WasmYAML::CodeSection &Section) { in sectionMapping() 263 Section.reset(new WasmYAML::CodeSection()); in mapping() 264 sectionMapping(IO, *cast<WasmYAML::CodeSection>(Section.get())); in mapping()
49 void writeSectionContent(raw_ostream &OS, WasmYAML::CodeSection &Section);519 WasmYAML::CodeSection &Section) { in writeSectionContent() 636 else if (auto S = dyn_cast<WasmYAML::CodeSection>(Sec.get())) in writeWasm()
387 struct CodeSection : Section { struct388 CodeSection() : Section(wasm::WASM_SEC_CODE) {} in CodeSection() argument
696 for (const auto& CodeSection : MemMgr.FunctionMemory) in remapSectionsAndSymbols() local697 Worklist.push_back(&CodeSection); in remapSectionsAndSymbols()
306 uint32_t CodeSection = 0; variable
352 auto CodeSec = std::make_unique<WasmYAML::CodeSection>(); in dump()
1594 CodeSection = Sections.size(); in parseCodeSection() 1940 return CodeSection; in getSymbolSectionIdImpl()