DDaniel KofanovRefactor 'ImportPathManager' & 'ExternalSources'
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Support only ets suffix for source file Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IBSSK6 Description: change suffix from sts to ets Tested-by: ninja tests (passed) ets_testrunner (passed) Signed-off-by: gavin1012_hw <wanggang203@huawei.com> | 1 年前 | |
Support only ets suffix for source file Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IBSSK6 Description: change suffix from sts to ets Tested-by: ninja tests (passed) ets_testrunner (passed) Signed-off-by: gavin1012_hw <wanggang203@huawei.com> | 1 年前 | |
Support only ets suffix for source file Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IBSSK6 Description: change suffix from sts to ets Tested-by: ninja tests (passed) ets_testrunner (passed) Signed-off-by: gavin1012_hw <wanggang203@huawei.com> | 1 年前 | |
Support only ets suffix for source file Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IBSSK6 Description: change suffix from sts to ets Tested-by: ninja tests (passed) ets_testrunner (passed) Signed-off-by: gavin1012_hw <wanggang203@huawei.com> | 1 年前 | |
[BUILD SYSTEM] Dependency analyzer perf fix * Fixed arktsconfig parsing in dependency analyzer * Fixed several memory leaks related to dependency analyzer stuff Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8470 Tests: ninja all tests Change-Id: I8b066219bb8b60aab0e068b89e6638ea6ffcdfe6 Signed-off-by: Shimenkov Mikhail <shimenkov.mikhail@huawei-partners.com> | 5 个月前 | |
Moved static_core/libpandabase Issue: ICEF8V Signed-off-by: ivagin <vagin.ivan1@huawei-partners.com> | 9 个月前 | |
Add dependency analyzer Add dependency analysis between files Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IB7I1W Signed-off-by: arutiunianani <arutiunian.ani@h-partners.com> | 1 年前 | |
Refactor 'ImportPathManager' & 'ExternalSources' Issue: https://gitcode.com/openharmony/arkcompiler_ets_frontend/issues/8938 Description: ImportPathManager: 1. Make 'ImportPathManager' responsible for 'Program' creation. 2. Specialize 'Program's by 'util::ModuleKind', 'Program' is an abstract base. 3. Refactor 'Program::externalSources_'; 4. Gather all the global-caches under 'ImportPathManager' (ast-cache, source-cache, decl-cache). 5. Reduce 'resolvedSource', 'declPath', 'ohmUrl', 'declText' and etc. interference: * Define 'ohmUrl' as fs-independent 'resolvedSource' * 'moduleName' is formed in the following way: 1. Form 'resolvedSource' (absolute-path). 2. Form 'ohmUrl' based on matching 'resolvedSource' with fields of arktsconfig. 3. If wasn't matched, 'ohmUrl' is just a filename (w/o extension). 4. Form 'moduleName' by repalcing '/' with '.' in 'ohmUrl'. 6. Simplify '.etscache' path resolving by 'cacheDir'/'ohmUrl'.etscache. Phases: 1. Skip "before-emit-decl" phases for 'Program's constructed from decl-caches. 2. Replace 'PhaseForBodies' and 'PhaseForDeclarations' with 'PhaseFor<ModuleKind...>' Programs. 3. Introduce 'PhaseForProgramsToBeEmitted'. Signed-off-by: Daniel Kofanov <kofanov.daniil@huawei-partners.com> Co-authored-by: nikozer <ozerov.nikita@huawei-partners.com> Co-authored-by: Zelentsov Dmitriy <zelentsov.dmitry@huawei-partners.com> Co-authored-by: Klimentieva <klimentieva.maria@h-partners.com> Co-authored-by: lirismankarina <lirisman.karina@huawei-partners.com> Co-authored-by: Amosov Alexey <amosov.alexey1@huawei-partners.com> Co-authored-by: Dmitry Pimenov <pimenov.dmitry@huawei-partners.com> Change-Id: Icef66995940b4dcd69653108cdc6e2268b52102e | 4 个月前 |