| /arkcompiler/runtime_core/static_core/runtime/ |
| D | deoptimization.cpp | 86 for (auto stack = StackWalker::Create(thread); stack.HasFrame(); stack.NextFrame()) { in InvalidateCompiledEntryPoint() local 87 if (stack.IsCFrame() && stack.GetMethod() == method) { in InvalidateCompiledEntryPoint() 88 auto &cframe = stack.GetCFrame(); in InvalidateCompiledEntryPoint() 90 cframe.SetDeoptCodeEntry(stack.GetCompiledCodeEntry()); in InvalidateCompiledEntryPoint() 118 [[noreturn]] NO_ADDRESS_SANITIZE void Deoptimize(StackWalker *stack, const uint8_t *pc, bool hasExc… in InvalidateCompiledEntryPoint() argument 121 ASSERT(stack != nullptr); in InvalidateCompiledEntryPoint() 124 ASSERT(stack->IsCFrame()); in InvalidateCompiledEntryPoint() 125 auto &cframe = stack->GetCFrame(); in InvalidateCompiledEntryPoint() 127 auto method = stack->GetMethod(); in InvalidateCompiledEntryPoint() 131 pc = method->GetInstructions() + stack->GetBytecodePc(); in InvalidateCompiledEntryPoint() [all …]
|
| D | language_context.cpp | 38 auto stack = StackWalker::Create(thread); in GetCatchMethodAndOffset() local 39 while (stack.HasFrame()) { in GetCatchMethodAndOffset() 40 catchMethod = stack.GetMethod(); in GetCatchMethodAndOffset() 42 stack.NextFrame(); in GetCatchMethodAndOffset() 45 if (stack.IsCFrame()) { in GetCatchMethodAndOffset() 46 stack.NextFrame(); in GetCatchMethodAndOffset() 49 …catchOffset = catchMethod->FindCatchBlock(thread->GetException()->ClassAddr<Class>(), stack.GetByt… in GetCatchMethodAndOffset() 53 stack.NextFrame(); in GetCatchMethodAndOffset()
|
| D | exceptions.cpp | 224 NO_ADDRESS_SANITIZE void FindCatchBlockInCFrames(ManagedThread *thread, StackWalker *stack, Frame *… in FindCatchBlockInCFrames() argument 226 auto nextFrame = stack->GetNextFrame(); in FindCatchBlockInCFrames() 227 for (; stack->HasFrame(); stack->NextFrame(), nextFrame = stack->GetNextFrame()) { in FindCatchBlockInCFrames() 228 … LOG(DEBUG, INTEROP) << "Search for the catch block in " << stack->GetMethod()->GetFullName(); in FindCatchBlockInCFrames() 230 auto pc = stack->GetBytecodePc(); in FindCatchBlockInCFrames() 231 auto *method = stack->GetMethod(); in FindCatchBlockInCFrames() 239 LOG(DEBUG, INTEROP) << "Catch block is found in " << stack->GetMethod()->GetFullName(); in FindCatchBlockInCFrames() 241 Deoptimize(stack, method->GetInstructions() + pcOffset); in FindCatchBlockInCFrames() 253 DropCompiledFrame(stack); in FindCatchBlockInCFrames() 262 DropCompiledFrame(stack); in FindCatchBlockInCFrames() [all …]
|
| D | runtime_helpers.cpp | 31 for (auto stack = StackWalker::Create(thread); stack.HasFrame(); stack.NextFrame()) { in PrintStackTrace() local 32 Method *method = stack.GetMethod(); in PrintStackTrace() 34 << method->GetLineNumberAndSourceFile(stack.GetBytecodePc()); in PrintStackTrace()
|
| /arkcompiler/runtime_core/static_core/models/thread_pool/ |
| D | thread_pool.tla | 366 scale_lock_, cond_var_, queue_size_, pc, stack 374 scale_lock_, cond_var_, queue_size_, pc, stack, worker_num_, 398 /\ stack = [self \in ProcSet |-> << >>] 409 cond_var_, queue_size_, stack, 421 queue_size_, stack, 430 … /\ pc' = [pc EXCEPT ![self] = Head(stack[self]).pc] 431 … /\ stack' = [stack EXCEPT ![self] = Tail(stack[self])] 434 stack >> 439 /\ stack' = stack 447 /\ pc' = [pc EXCEPT ![self] = Head(stack[self]).pc] [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | runtime-compiled_code-interaction.md | 8 * The structure of compiled code stack frames and stack traversing 43 For dynamic languages a compiled function accepts all arguments in stack slots. 56 …_ | StackFrameKind | A kind of the current stack frame (compiled code or interpreter sta… 89 A stack frame contains data necessary to execute the function the frame belongs to. 90 …kinds of stack frames. But all the frames of managed code must have the structure described in [Co… 92 ### Interpreter stack frame 93 …terpreter stack frame is decribed by `panda::Frame` class. The class has fields to store virtual r… 94 All the consecutive interpreter stack frames are organized into a linked list. The field `panda::Fr… 96 ### Compiled code stack frame 97 Each compiled function is responsible to reserve stack frame for its purpose and then release it wh… [all …]
|
| D | cfi_directives.md | 5 …ecial cryptographic/vector instructions) or if there is a need for manual stack/registers manipula… 7 …rmation**) is a subset of these debug symbols which is responsible for correct **stack unwinding**. 24 In prolog we save `lr`, `fp` and `callee` regs on stack. 25 So we should explicitly mark these stack slots with help of `CFI` directives. 30 In epilog we read saved `callees` from stack and also `fp`/`lr`. Here we annotate that saved regist… 34 There are bridges which `hack` stack memory (setting `stack pointer` to other stack frame), i.e.:
|
| /arkcompiler/runtime_core/docs/ |
| D | runtime-compiled_code-interaction.md | 8 * The structure of compiled code stack frames and stack traversing 50 …_ | StackFrameKind | A kind of the current stack frame (compiled code or interpreter sta… 83 A stack frame contains data necessary to execute the function the frame belongs to. 84 …kinds of stack frames. But all the frames of managed code must have the structure described in [Co… 86 ### Interpreter stack frame 87 …terpreter stack frame is decribed by `panda::Frame` class. The class has fields to store virtual r… 88 All the consecutive interpreter stack frames are organized into a linked list. The field `panda::Fr… 90 ### Compiled code stack frame 91 Each compiled function is responsible to reserve stack frame for its purpose and then release it wh… 92 Generaly compiled function builds the stack frame in prolog and releases it in epilog. If a compile… [all …]
|
| D | cfi_directives.md | 5 …ecial cryptographic/vector instructions) or if there is a need for manual stack/registers manipula… 7 …rmation**) is a subset of these debug symbols which is responsible for correct **stack unwinding**. 24 In prolog we save `lr`, `fp` and `callee` regs on stack. 25 So we should explicitly mark these stack slots with help of `CFI` directives. 30 In epilog we read saved `callees` from stack and also `fp`/`lr`. Here we annotate that saved regist… 34 There are bridges which `hack` stack memory (setting `stack pointer` to other stack frame), i.e.:
|
| /arkcompiler/runtime_core/static_core/verification/config/options/ |
| D | msg_set_parser.h | 26 panda::PandaVector<std::pair<size_t, size_t>> stack; member 50 c.stack.push_back(std::make_pair(num, num)); in MessageSetParser() 58 c.stack.push_back(std::make_pair(num, num)); in MessageSetParser() 65 auto numEnd = c.stack.back(); in MessageSetParser() 66 c.stack.pop_back(); in MessageSetParser() 67 auto numStart = c.stack.back(); in MessageSetParser() 68 c.stack.pop_back(); in MessageSetParser() 70 c.stack.push_back(std::make_pair(numStart.first, numEnd.first)); in MessageSetParser() 77 c.stack.clear(); in MessageSetParser() 80 auto range = c.stack.back(); in MessageSetParser() [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/asmstackoverflow/ |
| D | expect_output.txt | 14 stack overflow2! 15 stack overflow! 35 callarg0_with_callthis stack overflow! 36 callarg1_with_callthis stack overflow! 37 callarg2_with_callthis stack overflow! 38 callarg3_with_callthis stack overflow! 39 callrange_with_callthis stack overflow!
|
| /arkcompiler/ets_runtime/ecmascript/containers/tests/ |
| D | containers_stack_test.cpp | 65 JSHandle<JSTaggedValue> stack = GetCallArg(argv, 2); // 2 means the secode arg in TestForEachFunc() local 66 if (!stack->IsUndefined()) { in TestForEachFunc() 68 … TaggedArray *elements = TaggedArray::Cast(JSAPIStack::Cast(stack.GetTaggedValue(). in TestForEachFunc() 112 JSHandle<JSAPIStack> stack(thread, result); in CreateJSAPIStack() local 113 return stack; in CreateJSAPIStack() 132 JSHandle<JSAPIStack> stack(thread, result); in HWTEST_F_L0() local 133 JSTaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(stack)); in HWTEST_F_L0() 145 JSHandle<JSAPIStack> stack = CreateJSAPIStack(); in HWTEST_F_L0() local 149 callInfo->SetThis(stack.GetTaggedValue()); in HWTEST_F_L0() 163 JSHandle<JSAPIStack> stack = CreateJSAPIStack(); in HWTEST_F_L0() local [all …]
|
| /arkcompiler/ets_frontend/es2panda/typescript/types/ |
| D | functionType.cpp | 24 static std::unordered_set<const FunctionType *> stack; in ToString() local 26 if (stack.find(this) != stack.end()) { in ToString() 27 stack.erase(this); in ToString() 32 stack.insert(this); in ToString()
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ts/ |
| D | functionType.cpp | 23 static std::unordered_set<const FunctionType *> stack; in ToString() local 25 if (stack.find(this) != stack.end()) { in ToString() 26 stack.erase(this); in ToString() 31 stack.insert(this); in ToString()
|
| /arkcompiler/toolchain/tooling/test/testcases/js/ |
| D | container.js | 251 let stack = new Stack(); 252 stack.push(5); 253 stack.push(18); 254 stack.push(3); 255 stack.push(28); 256 stack.push(1); 257 stack.push('one'); 258 stack.push(888); 259 stack.push(857); 260 stack.push('six'); [all …]
|
| /arkcompiler/runtime_core/static_core/docs/diagrams/ |
| D | g1-thread-sequence.plantuml | 20 "GC Thread #1" -> "Task Queue":Marking stack #1 21 "GC Thread #2" <- "Task Queue":Marking stack #1 22 "GC Thread #2" -> "Task Queue":Marking stack #2 23 "GC Thread #3" <- "Task Queue":Marking stack #2 24 "GC Thread #2" -> "Task Queue":Marking stack #X 25 "GC Thread #1" <- "Task Queue":Marking stack #X
|
| /arkcompiler/ets_runtime/test/aottest/exception_case4/ |
| D | exception_case4.js | 23 let stack = e.stack 24 let array = stack.split('\n')
|
| /arkcompiler/ets_runtime/test/aottest/exception_case5/ |
| D | exception_case5.js | 21 let stack = e.stack 22 let array = stack.split('\n')
|
| /arkcompiler/ets_runtime/test/aottest/exception_case1/ |
| D | exception_case1.js | 23 let stack = e.stack 24 let array = stack.split('\n')
|
| /arkcompiler/ets_runtime/test/aottest/exception_case2/ |
| D | exception_case2.js | 23 let stack = e.stack 24 let array = stack.split('\n')
|
| /arkcompiler/ets_runtime/test/aottest/exception_case10/ |
| D | exception_case10.js | 26 let stack = e.stack 27 let array = stack.split('\n')
|
| /arkcompiler/ets_runtime/test/aottest/exception_case3/ |
| D | exception_case3.js | 23 let stack = e.stack 24 let array = stack.split('\n')
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/ |
| D | me_ssa_update.h | 32 virtual std::stack<ScalarMeExpr *> *GetRenameStack(OStIdx idx) in GetRenameStack() 63 std::stack<ScalarMeExpr *> *GetRenameStack(OStIdx idx) override; 74 std::vector<std::unique_ptr<std::stack<ScalarMeExpr *>>> renameWithVectorStacks; 82 std::stack<ScalarMeExpr *> *GetRenameStack(OStIdx idx) override; 88 std::map<OStIdx, std::unique_ptr<std::stack<ScalarMeExpr *>>> renameWithMapStacks;
|
| /arkcompiler/ets_runtime/test/aottest/exception_case12/ |
| D | exception_case12.ts | 27 let stack = e.stack variable 28 let array = stack.split('\n')
|
| /arkcompiler/ets_runtime/test/aottest/exception_case6/ |
| D | exception_case6.js | 24 let stack = e.stack 25 let array = stack.split('\n')
|