Home
last modified time | relevance | path

Searched refs:section (Results 1 - 25 of 43) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/dfx/dump_code/
H A Djit_dump_elf.cpp74 void JsJitDumpElf::UpdateSectionOffset(Section &section) in UpdateSectionOffset() argument
76 if (section.GetType() != SHT_NOBITS) { in UpdateSectionOffset()
77 section.SetOffset(globalOffset); in UpdateSectionOffset()
79 section.SetOffset(0); in UpdateSectionOffset()
83 void JsJitDumpElf::UpdateGlobalOffset(Section &section) in UpdateGlobalOffset() argument
85 if (section.GetType() != SHT_NOBITS) { in UpdateGlobalOffset()
86 globalOffset += section.GetSectionSize(); in UpdateGlobalOffset()
95 for (auto *section : sections) { in LayoutSections()
96 section->SetSectionHeaderNameIndex(static_cast<maplebe::Word>(strTabSection->AddString(section in LayoutSections()
114 RegisterSection(Section &section) RegisterSection() argument
[all...]
H A Djit_dump_elf.h75 void SetLink(const Section &section) in SetLink() argument
77 sectionHeader.sh_link = static_cast<maplebe::Word>(section.GetIndex()); in SetLink()
339 void UpdateSectionOffset(Section &section);
340 void UpdateGlobalOffset(Section &section);
341 void RegisterSection(Section &section);
/arkcompiler/runtime_core/static_core/verification/config/process/
H A Dconfig_process.cpp30 bool ProcessConfigSection(Config *cfg, const Section &section, const ark::PandaString &path = "") in ProcessConfigSection() argument
34 return sectionHandlers.at(path)(cfg, section); in ProcessConfigSection()
36 for (const auto &s : section.sections) { in ProcessConfigSection()
54 bool ProcessConfig(Config *cfg, const Section &section) in ProcessConfig() argument
56 return ProcessConfigSection(cfg, section, section.name); in ProcessConfig()
H A Dconfig_process.h29 bool ProcessConfig(Config *cfg, const Section &section);
/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/
H A Dcreated_object_file.cpp34 for (auto section : objectFile_->sections()) { in CreatedObjectFile()
35 sectionIndex_[cantFail(section.getName())] = section; in CreatedObjectFile()
72 LLVM_DEBUG(llvm::dbgs() << "Getting section = '" << name << "'\n"); in GetSection()
73 ASSERT(sectionIndex_.find(name) != sectionIndex_.end() && "Attempt to access an unknown section"); in GetSection()
74 const auto &section = sectionIndex_.at(name); in GetSection() local
75 auto contents = cantFail(section.getContents()); in GetSection()
77 return SectionReference {memory, contents.size(), name, section.getAlignment()}; in GetSection()
83 LLVM_DEBUG(llvm::dbgs() << "Got section by function = " << fullFunctionName in GetSectionByFunctionName()
84 << " section' in GetSectionByFunctionName()
93 const auto &section = sectionIndex_.at(RELA_LLVM_STACKMAPS_SECTION); GetStackMapInfo() local
105 const auto &section = sectionIndex_.at(".rela.llvm_faultmaps"); GetFaultMapInfo() local
[all...]
H A Dark_aot_linker.cpp76 // Check if we've inserted section reference. in RememberAllocation()
77 // If we did not, then there is a section duplicate, which we cannot handle in RememberAllocation()
99 ASSERT(sections.find(name) != sections.end() && "Attempt to access an unknown linked section"); in GetLinkedSection()
113 for (const auto &section : file->GetRoDataSections()) { in GetLinkedRoDataSections()
114 references.push_back(GetLinkedSection(section.GetName())); in GetLinkedRoDataSections()
125 for (auto section : objectFile->GetObjectFile()->sections()) { in RelocateSections()
126 llvm::StringRef name = cantFail(section.getName()); in RelocateSections()
171 LLVM_DEBUG(llvm::dbgs() << "Relocated section '" << sectionReference.GetName() in RelocateFunctionSection()
193 LLVM_DEBUG(llvm::dbgs() << "Relocated section '" << sectionReference.GetName() in RelocateSection()
H A Dcode_info_producer.h61 void SetStackMap(const uint8_t *section, uintptr_t size);
62 void SetFaultMaps(const uint8_t *section, uintptr_t size);
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
H A Dvalidate-recipes137 my $section = shift;
140 if (exists $skip_list->{$r->{id}} && $skip_list->{$r->{id}}{$section}) {
141 if ($skip_list->{$r->{id}}{$section} eq 'skip') {
270 die 'Recipes anchor should be in intro section'
289 die 'Expected preceding section: id' if $current_section ne 'id';
298 die 'Expected preceding section: desc_brief'
309 die 'Expected current section: desc_detailed'
314 die 'Expected current section: desc_detailed'
320 die 'Expected current section: desc_detailed'
325 die 'Expected current section
[all...]
/arkcompiler/runtime_core/static_core/verification/config/
H A Dconfig_load.cpp44 ark::verifier::config::Section section; in ProcessConfigFile() local
47 ark::verifier::config::ParseConfig(text, section) && ark::verifier::config::ProcessConfig(cfg, section); in ProcessConfigFile()
49 LOG(DEBUG, VERIFIER) << "Verifier debug configuration: \n" << section.Image(); in ProcessConfigFile()
/arkcompiler/runtime_core/static_core/verification/config/handlers/
H A Dconfig_handler_method_options.cpp230 static bool MethodOptionsProcessorProcessSection(const struct Section &s, const Section &section,
257 LOG(ERROR, VERIFIER) << "Failed to parse '" << name << "' under '" << section.name << "'";
274 LOG(ERROR, VERIFIER) << "Unexpected section name: '" << name << "' under '" << section.name << "'";
283 static const auto PROCESS_METHOD_OPTIONS = [](Config *cfg, const Section &section) {
285 MethodOptions &options = allOptions.NewOptions(section.name);
287 for (const auto &s : section.sections) {
288 if (!MethodOptionsProcessorProcessSection(s, section, allOptions, options)) {
303 static const auto CONFIG_DEBUG_METHOD_OPTIONS_VERIFIER = [](Config *ddcfg, const Section &section) {
305 for (const auto &s : section
[all...]
H A Dconfig_handler_method_groups.cpp46 static const auto CONFIG_DEBUG_METHOD_GROUPS_VERIFIER_OPTIONS = [](Config *cfg, const Section &section) { in RegisterConfigHandlerMethodGroups()
49 for (const auto &item : section.items) { in RegisterConfigHandlerMethodGroups()
H A Dconfig_handler_whitelist.cpp70 LOG(DEBUG, VERIFIER) << "Wrong debug verifier whitelist section: '" << s.name << "'"; in RegisterConfigHandlerWhitelistSectionHandler()
95 static const auto CONFIG_DEBUG_WHITELIST_VERIFIER = [](Config *config, const Section &section) { in RegisterConfigHandlerWhitelist()
96 for (const auto &s : section.sections) { in RegisterConfigHandlerWhitelist()
H A Dconfig_handler_options.cpp102 static const auto CONFIG_DEBUG_OPTIONS_VERIFIER = [](Config *config, const Section &section) { in RegisterConfigHandlerOptions()
129 for (const auto &s : section.sections) { in RegisterConfigHandlerOptions()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dobj_emit.h427 for (auto *section : sections) { in HandleGlobalFixup()
428 section->HandleGlobalFixup(globalLabel2Offset); in HandleGlobalFixup()
447 void UpdateSectionOffsetAddr(Section *section) in UpdateSectionOffsetAddr() argument
449 if (section->GetType() != SHT_NOBITS) { in UpdateSectionOffsetAddr()
450 section->SetOffset(globalOffset); in UpdateSectionOffsetAddr()
452 section->SetOffset(0); in UpdateSectionOffsetAddr()
456 void UpdateGlobalOffsetAddr(Section *section) in UpdateGlobalOffsetAddr() argument
458 if ((section->GetFlags() & SHF_ALLOC) != 0) { in UpdateGlobalOffsetAddr()
459 globalAddr += section->GetDataSize(); in UpdateGlobalOffsetAddr()
461 if (section in UpdateGlobalOffsetAddr()
466 RegisterSection(Section *section) RegisterSection() argument
[all...]
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/
H A Delf_builder.h306 void AddSection(Section *section) in AddSection() argument
308 sections_.push_back(section); in AddSection()
309 section->index_ = sections_.size() - 1; in AddSection()
313 void AddSymbol(const std::string &name, ElfWord size, const Section &section,
357 auto section = new DataSection(*this, name, nullptr, in AddRoDataSection() local
361 AddSection(section); in AddRoDataSection()
362 roDataSections_.push_back(section); in AddRoDataSection()
372 void SettleSection(Section *section);
413 for (auto section : sections_) { in HackAddressesForJit()
414 if ((section in HackAddressesForJit()
545 AddSymbol(const std::string &name, ElfWord size, const Section &section, typename SymbolSection::ThunkFunc thunk) AddSymbol() argument
813 SettleSection(Section *section) SettleSection() argument
[all...]
H A Dllvm_aot_builder.cpp62 // At runtime the .text section is placed right after the .aot_got section in GetSectionsAddressesImpl()
64 // of the .aot_got section. in GetSectionsAddressesImpl()
66 for (auto section : *roDataSections) { in GetSectionsAddressesImpl()
67 sectionAddresses.emplace(section->GetName(), section->GetOffset()); in GetSectionsAddressesImpl()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ap_file/
H A Dpgo_file_info.h378 PGOFileSectionInterface &section) in ParseSectionFromBinary()
380 if (section.Support(header)) { in ParseSectionFromBinary()
381 SectionInfo *info = section.GetSection(header); in ParseSectionFromBinary()
386 section.ParseFromBinary(context, &addr, header); in ParseSectionFromBinary()
392 PGOFileSectionInterface &section) in ProcessSectionToBinary()
394 auto *info = section.GetSection(header); in ProcessSectionToBinary()
399 info->number_ = section.ProcessToBinary(context, fileStream); in ProcessSectionToBinary()
377 ParseSectionFromBinary(PGOContext &context, void *buffer, PGOProfilerHeader const *header, PGOFileSectionInterface &section) ParseSectionFromBinary() argument
391 ProcessSectionToBinary(PGOContext &context, std::fstream &fileStream, PGOProfilerHeader *const header, PGOFileSectionInterface &section) ProcessSectionToBinary() argument
/arkcompiler/runtime_core/static_core/irtoc/backend/
H A Ddwarf_builder.cpp42 ELFIO::section *section = self->GetElfBuilder()->sections.add(name); in CreateSectionCallback() local
45 {section->get_index(), ELFIO::relocation_section_accessor(*self->GetElfBuilder(), section)}); in CreateSectionCallback()
46 section->set_entry_size(self->GetElfBuilder()->get_default_entry_size(ELFIO::SHT_REL)); in CreateSectionCallback()
48 self->indexMap_[section->get_index()] = self->sections_.size(); in CreateSectionCallback()
49 self->sections_.push_back(section); in CreateSectionCallback()
51 section->set_type(type); in CreateSectionCallback()
52 section->set_flags(flags); in CreateSectionCallback()
53 section in CreateSectionCallback()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dobj_emit.cpp139 for (auto *section : sections) { in WriteObjFile()
140 if (section->GetType() == SHT_NOBITS) { in WriteObjFile()
144 SetFileOffset(section->GetOffset()); in WriteObjFile()
145 section->WriteSection(outStream); in WriteObjFile()
148 /* write section table */ in WriteObjFile()
150 for (auto section : sections) { in WriteObjFile()
151 Emit(&section->GetSectionHeader(), sizeof(section->GetSectionHeader())); in WriteObjFile()
166 for (auto *section : sections) { in ClearData()
167 if (section ! in ClearData()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Delf_assembler.cpp658 void ElfAssembler::RegisterSection(Section &section) in RegisterSection() argument
660 sections.push_back(&section); in RegisterSection()
662 section.SetIndex(static_cast<SectionIndex>(sections.size() - 1)); in RegisterSection()
670 for (auto *section : sections) { in LayoutSections()
671 section->SetSectionHeaderNameIndex(static_cast<Word>(strTabSection->AddString(section->GetName()))); in LayoutSections()
674 for (auto *section : sections) { in LayoutSections()
675 globalOffset = Alignment::Align<Offset>(globalOffset, section->GetAlign()); in LayoutSections()
676 /* lay out section */ in LayoutSections()
677 UpdateSectionOffset(*section); in LayoutSections()
689 UpdateSectionOffset(Section &section) UpdateSectionOffset() argument
698 UpdateGlobalOffset(Section &section) UpdateGlobalOffset() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
H A Delf_builder.cpp93 ElfSection section = ElfSection(s.first); in DumpSection() local
94 if (!section.ShouldDumpToAOTFile()) { in DumpSection()
168 uint32_t ElfBuilder::GetShIndex(ElfSecName section) const in GetShIndex()
173 if (sec == section) { in GetShIndex()
183 return sections_.size() + 1; // add first empty section. in GetSecNum()
200 Start of section headers: 64 (bytes into file)
205 Size of section headers: 64 (bytes)
206 Number of section headers: 7
239 // start of section headers in PackELFHeader()
243 // size of section header in PackELFHeader()
261 ElfSection section = ElfSection(s.first); GetSegmentNum() local
277 ElfSection section = ElfSection(s.first); SetLastSection() local
562 ElfSection section = ElfSection(secName); PackELFSections() local
704 ElfSection section = ElfSection(s.first); PackELFSegment() local
[all...]
/arkcompiler/runtime_core/static_core/runtime/fibers/arch/aarch64/
H A Dget.S39 .section .note.GNU-stack,"",%progbit
/arkcompiler/runtime_core/static_core/runtime/fibers/arch/arm/
H A Dget.S39 .section .note.GNU-stack,"",%progbit
/arkcompiler/runtime_core/static_core/runtime/fibers/arch/amd64/
H A Dget.S38 .section .note.GNU-stack,"",%progbit
/arkcompiler/runtime_core/static_core/verification/config/debug_breakpoint/
H A Dconfig_handler_breakpoints.cpp116 static const auto CONFIG_DEBUG_BREAKPOINTS = [](Config *cfg, const Section &section) { in RegisterConfigHandlerBreakpoints()
117 for (const auto &s : section.sections) { in RegisterConfigHandlerBreakpoints()

Completed in 13 milliseconds

12