/arkcompiler/ets_runtime/ecmascript/dfx/dump_code/ |
H A D | jit_dump_elf.cpp | 74 void JsJitDumpElf::UpdateSectionOffset(Section §ion) 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 §ion) 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 §ion) RegisterSection() argument [all...] |
H A D | jit_dump_elf.h | 75 void SetLink(const Section §ion) in SetLink() argument 77 sectionHeader.sh_link = static_cast<maplebe::Word>(section.GetIndex()); in SetLink() 339 void UpdateSectionOffset(Section §ion); 340 void UpdateGlobalOffset(Section §ion); 341 void RegisterSection(Section §ion);
|
/arkcompiler/runtime_core/static_core/verification/config/process/ |
H A D | config_process.cpp | 30 bool ProcessConfigSection(Config *cfg, const Section §ion, 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 §ion) in ProcessConfig() argument 56 return ProcessConfigSection(cfg, section, section.name); in ProcessConfig()
|
H A D | config_process.h | 29 bool ProcessConfig(Config *cfg, const Section §ion);
|
/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/ |
H A D | created_object_file.cpp | 34 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 §ion = 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 §ion = sectionIndex_.at(RELA_LLVM_STACKMAPS_SECTION); GetStackMapInfo() local 105 const auto §ion = sectionIndex_.at(".rela.llvm_faultmaps"); GetFaultMapInfo() local [all...] |
H A D | ark_aot_linker.cpp | 76 // 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 §ion : 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 D | code_info_producer.h | 61 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 D | validate-recipes | 137 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 D | config_load.cpp | 44 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 D | config_handler_method_options.cpp | 230 static bool MethodOptionsProcessorProcessSection(const struct Section &s, const Section §ion, 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 §ion) { 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 §ion) { 305 for (const auto &s : section [all...] |
H A D | config_handler_method_groups.cpp | 46 static const auto CONFIG_DEBUG_METHOD_GROUPS_VERIFIER_OPTIONS = [](Config *cfg, const Section §ion) { in RegisterConfigHandlerMethodGroups() 49 for (const auto &item : section.items) { in RegisterConfigHandlerMethodGroups()
|
H A D | config_handler_whitelist.cpp | 70 LOG(DEBUG, VERIFIER) << "Wrong debug verifier whitelist section: '" << s.name << "'"; in RegisterConfigHandlerWhitelistSectionHandler() 95 static const auto CONFIG_DEBUG_WHITELIST_VERIFIER = [](Config *config, const Section §ion) { in RegisterConfigHandlerWhitelist() 96 for (const auto &s : section.sections) { in RegisterConfigHandlerWhitelist()
|
H A D | config_handler_options.cpp | 102 static const auto CONFIG_DEBUG_OPTIONS_VERIFIER = [](Config *config, const Section §ion) { in RegisterConfigHandlerOptions() 129 for (const auto &s : section.sections) { in RegisterConfigHandlerOptions()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | obj_emit.h | 427 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 D | elf_builder.h | 306 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 §ion, 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 §ion, typename SymbolSection::ThunkFunc thunk) AddSymbol() argument 813 SettleSection(Section *section) SettleSection() argument [all...] |
H A D | llvm_aot_builder.cpp | 62 // 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 D | pgo_file_info.h | 378 PGOFileSectionInterface §ion) 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 §ion) 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 §ion) ParseSectionFromBinary() argument 391 ProcessSectionToBinary(PGOContext &context, std::fstream &fileStream, PGOProfilerHeader *const header, PGOFileSectionInterface §ion) ProcessSectionToBinary() argument
|
/arkcompiler/runtime_core/static_core/irtoc/backend/ |
H A D | dwarf_builder.cpp | 42 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 D | obj_emit.cpp | 139 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(§ion->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 D | elf_assembler.cpp | 658 void ElfAssembler::RegisterSection(Section §ion) in RegisterSection() argument 660 sections.push_back(§ion); 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 §ion) UpdateSectionOffset() argument 698 UpdateGlobalOffset(Section §ion) UpdateGlobalOffset() argument [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
H A D | elf_builder.cpp | 93 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 D | get.S | 39 .section .note.GNU-stack,"",%progbit
|
/arkcompiler/runtime_core/static_core/runtime/fibers/arch/arm/ |
H A D | get.S | 39 .section .note.GNU-stack,"",%progbit
|
/arkcompiler/runtime_core/static_core/runtime/fibers/arch/amd64/ |
H A D | get.S | 38 .section .note.GNU-stack,"",%progbit
|
/arkcompiler/runtime_core/static_core/verification/config/debug_breakpoint/ |
H A D | config_handler_breakpoints.cpp | 116 static const auto CONFIG_DEBUG_BREAKPOINTS = [](Config *cfg, const Section §ion) { in RegisterConfigHandlerBreakpoints() 117 for (const auto &s : section.sections) { in RegisterConfigHandlerBreakpoints()
|