Stackmap's size should be even number because it consists of pairs of base-pointer and derived-pointer.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I8XKB9
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I9a79f275eab3b1c235f697a636b166c95b299424
1.Add frame args chain on bytecodes which can throw
2.Record inline method offsets in frame args
3.Push method offsets of inlined methods into stackmaps when callout aot
4.Collect inline method offsets and output them
5.Fix literal offsets error before try-catch
6.Add testcases
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7Z24N?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I7f4927a2dfc6a71e44b59cb392acb9b2d3f408e2
1.Use local llvm contexts rather than global context
2.Merge multi-modules into an an-file
3.Generate an united stackmap for multi-modules
4.Use CodeSpace to manage code space in multi-modules
5.Use modules as groups to manage function compilation
6.Use only one module to parse the multi-modules an file
7.Disassembler outputs united address log
8.Add max-methods-in-module options
9.Add testcase
10.upgrade version number
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6ZMDE?from=project-issue
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: I80cf845fa57e8ae73c3c858ded0dfe4a46a13eb9
1.Add (program) and (idle) node;
2.Don't get inner running state when sampling if enableVMTag tag is false;
3.Early GetJSPtExtractor when profiling to avoid malloc in signal handler;
4.Add nullptr check when profiling aot application;
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6WDFH
Signed-off-by: Chongwei Su <suchongwei@huawei.com>
1. add pcOffset into stackmap before call In AOT
2. parse stackmap to find pcOffset before any OptimziedJSFunctionFrame
3. remove use code of stubs in AOT
4. add testcase for js stacktrace of AOT
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6GXRR?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ib21646b7319628fb425ac8ce489dc2370a347b81
move some function of object_factory to tagged_array
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: I986bb3b100929b8f323c0cf753ef392e5fe7c9c2