/arkcompiler/runtime_core/static_core/verification/config/parse/ |
H A D | config_parse.cpp | 35 std::vector<Section> sections; member 68 c.sections.push_back(c.current); in HandleSection() 69 c.current.sections.clear(); in HandleSection() 72 c.current = c.sections.back(); in HandleSection() 73 c.sections.pop_back(); in HandleSection() 76 c.sections.back().sections.push_back(c.current); in HandleSection() 77 c.current = c.sections.back(); in HandleSection() 78 c.sections.pop_back(); in HandleSection()
|
/arkcompiler/ets_runtime/ecmascript/dfx/dump_code/ |
H A D | jit_dump_elf.cpp | 43 header.e_shnum = static_cast<uint16>(sections.size()); in Initx86ElfHeader() 70 header.e_shnum = sections.size(); in InitArmElfHeader() 95 for (auto *section : sections) { in LayoutSections() 99 for (auto *section : sections) { in LayoutSections() 111 header.e_shnum = static_cast<uint16>(sections.size()); in LayoutSections() 116 sections.push_back(§ion); in RegisterSection() 117 section.SetIndex(static_cast<maplebe::SectionIndex>(sections.size() - 1)); in RegisterSection() 175 /* write sections */ in WriteJitElfFile() 176 for (auto *section : sections) { in WriteJitElfFile() 185 for (auto *section : sections) { in WriteJitElfFile() [all...] |
H A D | jit_dump_elf.h | 353 std::vector<Section *> sections; member in panda::ecmascript::JsJitDumpElf
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/ |
H A D | elf_checker.cpp | 193 /* Get the number of sections from the ELF header. */ 351 elfItemField.sections.data()[cnt].index = cnt; in GetElfItem() 352 elfItemField.sections.data()[cnt].elf = elf; in GetElfItem() 354 elfItemField.sections.data()[cnt].shdr.e32 = in GetElfItem() 357 elfItemField.sections.data()[cnt].shdr.e64 = in GetElfItem() 363 elfItemField.sections.data()[cnt].rawDataBase = elfItemField.sections.data()[cnt].dataBase = in GetElfItem() 366 elfItemField.sections.data()[cnt].list = &elfItemField.sections; in GetElfItem() 373 elfItemField.sections in GetElfItem() [all...] |
H A D | elf_builder.cpp | 21 std::map<ElfSecName, std::pair<uint64_t, uint32_t>> §ions = in AddShStrTabSection() local 47 if (sections.find(ElfSecName::SHSTRTAB) != sections.end()) { in AddShStrTabSection() 48 sections.erase(ElfSecName::SHSTRTAB); in AddShStrTabSection() 50 sections[ElfSecName::SHSTRTAB] = std::make_pair(reinterpret_cast<uint64_t>(shStrTabPtr_.get()), size); in AddShStrTabSection() 90 const std::map<ElfSecName, std::pair<uint64_t, uint32_t>> §ions = GetFullSecInfo(); in DumpSection() local 92 for (auto &s : sections) { in DumpSection() 103 const std::vector<ElfSecName> §ions): des_(des), sections_(sections) in ElfBuilder() 152 const std::map<ElfSecName, std::pair<uint64_t, uint32_t>> §ions in RemoveNotNeedSection() local 102 ElfBuilder(const std::vector<ModuleSectionDes> &des, const std::vector<ElfSecName> §ions) ElfBuilder() argument 258 const std::map<ElfSecName, std::pair<uint64_t, uint32_t>> §ions = GetFullSecInfo(); GetSegmentNum() local 275 const std::map<ElfSecName, std::pair<uint64_t, uint32_t>> §ions = GetFullSecInfo(); SetLastSection() local 311 const std::map<ElfSecName, std::pair<uint64_t, uint32_t>> §ions = GetFullSecInfo(); FindShStrTab() local 549 const std::map<ElfSecName, std::pair<uint64_t, uint32_t>> §ions = GetFullSecInfo(); PackELFSections() local 701 const std::map<ElfSecName, std::pair<uint64_t, uint32_t>> §ions = GetFullSecInfo(); PackELFSegment() local [all...] |
H A D | elf_checker.h | 198 /* Describe for elf sections */ 237 struct ElfSectionList* next; /* Next block of sections. */ 300 unsigned int scnincr; /* Number of sections allocate the last 318 unsigned int scnincr; /* Number of sections allocate the last 330 ElfSectionList sections; member 342 unsigned int scnincr; /* Number of sections allocate the last 353 ElfSectionList sections; member
|
H A D | elf_builder.h | 34 const std::vector<ElfSecName> §ions);
|
/arkcompiler/runtime_core/static_core/verification/config/ |
H A D | config.h | 32 std::vector<struct Section> sections; member 39 for (const auto &s : sections) { in Image() 53 for (const auto &s : sections) { in operator []()
|
/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/ |
H A D | ark_aot_linker.cpp | 98 const auto §ions = memoryManager_.GetSections(); in GetLinkedSection() local 99 ASSERT(sections.find(name) != sections.end() && "Attempt to access an unknown linked section"); in GetLinkedSection() 100 return sections.at(name); in GetLinkedSection() 125 for (auto section : objectFile->GetObjectFile()->sections()) { in RelocateSections() 143 "Could not relocate sections, error = '" + runtimeDyLd_.getErrorString() + "'"); in RelocateSections()
|
H A D | created_object_file.cpp | 34 for (auto section : objectFile_->sections()) { in CreatedObjectFile()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | obj_emit.h | 400 : Emitter(cg, objFileName), alloc(memPool), sections(alloc.Adapter()), contents(alloc.Adapter()) in ObjEmitter() 427 for (auto *section : sections) { in HandleGlobalFixup() 468 sections.push_back(section); in RegisterSection() 469 DEBUG_ASSERT(sections.size() > 0, "sections not empty"); in RegisterSection() 470 section->SetIndex(sections.size() - 1); in RegisterSection() 545 MapleVector<Section *> sections; member in maplebe::ObjEmitter
|
/arkcompiler/runtime_core/static_core/irtoc/backend/ |
H A D | dwarf_builder.cpp | 42 ELFIO::section *section = self->GetElfBuilder()->sections.add(name); in CreateSectionCallback() 247 auto sections = dwarf_transform_to_disk_form(dwarf_, &error); in Finalize() local 248 if (error != DW_DLV_OK || sections == DW_DLV_NOCOUNT) { in Finalize() 253 for (decltype(sections) i = 0; i < sections; ++i) { in Finalize()
|
H A D | compilation.cpp | 306 ELFIO::section *strSec = elfWriter.sections.add(".strtab"); in MakeElf() 315 ELFIO::section *symSec = elfWriter.sections.add(".symtab"); in MakeElf() 326 ELFIO::section *textSec = elfWriter.sections.add(".text"); in MakeElf() 332 ELFIO::section *relSec = elfWriter.sections.add(".rela.text"); in MakeElf()
|
/arkcompiler/runtime_core/static_core/verification/config/process/ |
H A D | config_process.cpp | 36 for (const auto &s : section.sections) { in ProcessConfigSection()
|
/arkcompiler/runtime_core/static_core/verification/config/handlers/ |
H A D | config_handler_method_options.cpp | 287 for (const auto &s : section.sections) { 305 for (const auto &s : section.sections) { 323 for (const auto &s : section.sections) {
|
H A D | config_handler_whitelist.cpp | 96 for (const auto &s : section.sections) { in RegisterConfigHandlerWhitelist()
|
H A D | config_handler_options.cpp | 129 for (const auto &s : section.sections) { in RegisterConfigHandlerOptions()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | obj_emit.cpp | 138 /* write sections */ in WriteObjFile() 139 for (auto *section : sections) { in WriteObjFile() 150 for (auto section : sections) { in WriteObjFile() 166 for (auto *section : sections) { in ClearData() 195 header.e_shnum = sections.size(); in InitELFHeader()
|
/arkcompiler/runtime_core/static_core/verification/config/debug_breakpoint/ |
H A D | config_handler_breakpoints.cpp | 117 for (const auto &s : section.sections) { in RegisterConfigHandlerBreakpoints()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
H A D | elf_assembler.cpp | 39 /* Initialize some sections that must be used. */ in InitialFileInfo() 654 header.e_shnum = static_cast<uint16>(sections.size()); in InitElfHeader() 660 sections.push_back(§ion); in RegisterSection() 661 DEBUG_ASSERT(sections.size() > 0, "must not be zero"); in RegisterSection() 662 section.SetIndex(static_cast<SectionIndex>(sections.size() - 1)); in RegisterSection() 670 for (auto *section : sections) { in LayoutSections() 674 for (auto *section : sections) { in LayoutSections() 686 header.e_shnum = static_cast<uint16>(sections.size()); in LayoutSections() 976 /* write sections */ in WriteElfFile() 977 for (auto *section : sections) { in WriteElfFile() [all...] |
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/ |
H A D | elf_builder.h | 1007 auto sections = dwarf_transform_to_disk_form(dw, &error); in Finalize() local 1011 for (decltype(sections) i {0}; i < sections; ++i) { in Finalize()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_obj_emitter.cpp | 249 for (auto *section : sections) { in LayoutSections() 253 for (auto *section : sections) { in LayoutSections() 262 header.e_shnum = sections.size(); in LayoutSections()
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
H A D | index.js | 2 (()=>{var __webpack_modules__={"./node_modules/buffer-from/index.js":e=>{var t=Object.prototype.toString,r="undefined"!=typeof Buffer&&"function"==typeof Buffer.alloc&&"function"==typeof Buffer.allocUnsafe&&"function"==typeof Buffer.from;e.exports=function(e,n,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return a=e,"ArrayBuffer"===t.call(a).slice(8,-1)?function(e,t,n){t>>>=0;var i=e.byteLength-t;if(i<0)throw new RangeError("'offset' is out of bounds");if(void 0===n)n=i;else if((n>>>=0)>i)throw new RangeError("'length' is out of bounds");return r?Buffer.from(e.slice(t,t+n)):new Buffer(new Uint8Array(e.slice(t,t+n)))}(e,n,i):"string"==typeof e?function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!Buffer.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');return r?Buffer.from(e,t):new Buffer(e,t)}(e,n):r?Buffer.from(e):new Buffer(e);var a}},"./node_modules/source-map-support/node_modules/source-map/lib/array-set.js":(e,t,r)=>{var n=r("./node_modules/source-map-support/node_modules/source-map/lib/util.js"),i=Object.prototype.hasOwnProperty,a="undefined"!=typeof Map;function o(){this._array=[],this._set=a?new Map:Object.create(null)}o.fromArray=function(e,t){for(var r=new o,n=0,i=e.length;n<i;n++)r.add(e[n],t);return r},o.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(e,t){var r=a?e:n.toSetString(e),o=a?this.has(e):i.call(this._set,r),s=this._array.length;o&&!t||this._array.push(e),o||(a?this._set.set(e,s):this._set[r]=s)},o.prototype.has=function(e){if(a)return this._set.has(e);var t=n.toSetString(e);return i.call(this._set,t)},o.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(t>=0)return t}else{var r=n.toSetString(e);if(i.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},o.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},o.prototype.toArray=function(){return this._array.slice()},t.ArraySet=o},"./node_modules/source-map-support/node_modules/source-map/lib/base64-vlq.js":(e,t,r)=>{var n=r("./node_modules/source-map-support/node_modules/source-map/lib/base64.js");t.encode=function(e){var t,r="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),r+=n.encode(t)}while(i>0);return r},t.decode=function(e,t,r){var i,a,o,s,c=e.length,l=0,u=0;do{if(t>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=n.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&a),l+=(a&=31)<<u,u+=5}while(i);r.value=(s=(o=l)>>1,1==(1&o)?-s:s),r.rest=t}},"./node_modules/source-map-support/node_modules/source-map/lib/base64.js":(e,t)=>{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},"./node_modules/source-map-support/node_modules/source-map/lib/binary-search.js":(e,t)=>{function r(e,n,i,a,o,s){var c=Math.floor((n-e)/2)+e,l=o(i,a[c],!0);return 0===l?c:l>0?n-c>1?r(c,n,i,a,o,s):s==t.LEAST_UPPER_BOUND?n<a.length?n:-1:c:c-e>1?r(e,c,i,a,o,s):s==t.LEAST_UPPER_BOUND?c:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,i,a){if(0===n.length)return-1;var o=r(-1,n.length,e,n,i,a||t.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===i(n[o],n[o-1],!0);)--o;return o}},"./node_modules/source-map-support/node_modules/source-map/lib/mapping-list.js":(e,t,r)=>{var n=r("./node_modules/source-map-support/node_modules/source-map/lib/util.js");function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,r,i,a,o,s;r=e,i=(t=this._last).generatedLine,a=r.generatedLine,o=t.generatedColumn,s=r.generatedColumn,a>i||a==i&&s>=o||n.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=i},"./node_modules/source-map-support/node_modules/source-map/lib/quick-sort.js":(e,t)=>{function r(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function n(e,t,i,a){if(i<a){var o=i-1;r(e,(u=i,_=a,Math.round(u+Math.random()*(_-u))),a);for(var s=e[a],c=i;c<a;c++)t(e[c],s)<=0&&r(e,o+=1,c);r(e,o+1,c);var l=o+1;n(e,t,i,l-1),n(e,t,l+1,a)}var u,_}t.quickSort=function(e,t){n(e,t,0,e.length-1)}},"./node_modules/source-map-support/node_modules/source-map/lib/source-map-consumer.js":(e,t,r)=>{var n=r("./node_modules/source-map-support/node_modules/source-map/lib/util.js"),i=r("./node_modules/source-map-support/node_modules/source-map/lib/binary-search.js"),a=r("./node_modules/source-map-support/node_modules/source-map/lib/array-set.js").ArraySet,o=r("./node_modules/source-map-support/node_modules/source-map/lib/base64-vlq.js"),s=r("./node_modules/source-map-support/node_modules/source-map/lib/quick-sort.js").quickSort;function c(e,t){var r=e;return"string"==typeof e&&(r=n.parseSourceMapInput(e)),null!=r.sections?new _(r,t):new l(r,t)}function l(e,t){var r=e;"string"==typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),o=n.getArg(r,"sources"),s=n.getArg(r,"names",[]),c=n.getArg(r,"sourceRoot",null),l=n.getArg(r,"sourcesContent",null),u=n.getArg(r,"mappings"),_=n.getArg(r,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);c&&(c=n.normalize(c)),o=o.map(String).map(n.normalize).map((function(e){return c&&n.isAbsolute(c)&&n.isAbsolute(e)?n.relative(c,e):e})),this._names=a.fromArray(s.map(String),!0),this._sources=a.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map((function(e){return n.computeSourceURL(c,e,t)})),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=t,this.file=_}function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function _(e,t){var r=e;"string"==typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),o=n.getArg(r,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new a,this._names=new a;var s={line:-1,column:0};this._sections=o.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=n.getArg(e,"offset"),i=n.getArg(r,"line"),a=n.getArg(r,"column");if(i<s.l (…) [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/ |
H A D | elf_assembler.h | 611 std::vector<Section *> sections; member in assembler::ElfAssembler
|