Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 62) sorted by relevance

123

/ark/runtime_core/docs/bc_verification/
Dcflow_checks.md10 exception
19 exception
36 The layout of exception handlers is quite flexible, even nesting of a handler in another handler is…
49 exception
68 exception
86 exception
103 ### Code to exception handler
117 exception
135 exception
142 …ition is allowed. Neither `jmp` nor fallthrough at the beginning of the exception handler is allow…
[all …]
Dabsint_checks.md23 ### Checks of exception handlers
25 This type of checks ensure correctness of context on exception handler entry.
27 The checks can help to detect usage of inconsistent information in registers in exception handlers.
33 … code, so verifier should be able to detect such situations in which an exception is always thrown.
/ark/js_runtime/ecmascript/tooling/test/utils/
Dtest_hooks.h63 if (test_->exception) { in Exception()
64 Local<JSValueRef> exception = DebuggerApi::GetAndClearException(vm_); in Exception() local
66 test_->exception(location); in Exception()
68 if (!exception->IsHole()) { in Exception()
69 DebuggerApi::SetException(vm_, exception); in Exception()
Dtest_events.h50 ExceptionCallback exception; member
/ark/runtime_core/tests/cts-generator/runner/
Drunner.rb24 def self.print_exception(exception) argument
25 puts "Exception: exception class : #{exception.class}"
26 puts " exception message : #{exception.message}"
27 exception.backtrace.each do |t|
/ark/runtime_core/verification/cflow/
Dcflow_info.cpp113 auto &exception = catch_block.exception_type; in DebugDump() local
118 …CacheOfRuntimeThings::IsDescriptor(exception) && !CacheOfRuntimeThings::GetDescriptor(exception).I… in DebugDump()
121 CacheOfRuntimeThings::IsRef(exception) ? &CacheOfRuntimeThings::GetRef(exception) : nullptr; in DebugDump()
160 auto &exception = catch_block.exception_type; in ProcessCatchBlocks() local
165 … CacheOfRuntimeThings::IsRef(exception) ? &CacheOfRuntimeThings::GetRef(exception) : nullptr; in ProcessCatchBlocks()
/ark/ts2abc/ts2panda/src/function/
DasyncFunctionBuilder.ts110 let exception = pandaGen.getTemp();
112 pandaGen.storeAccumulator(NodeKind.Invalid, exception);
113 …ionReject(NodeKind.Invalid, this.asyncObj, getVregisterCache(pandaGen, CacheList.True), exception);
116 pandaGen.freeTemps(exception);
/ark/runtime_core/verification/verifier/
Dverifier.config12 error-in-exception-handler
13 permanent-runtime-exception
/ark/runtime_core/tests/cts-generator/
Dverifier.debug.config10 error-in-exception-handler
11 permanent-runtime-exception
/ark/runtime_core/runtime/templates/
Dintrinsics.yaml.erb37 exception: <%= intrinsic.respond_to?(:exception) && intrinsic.exception %>
/ark/runtime_core/runtime/
Dpanda_vm.cpp52 auto *exception = thread->GetException(); in InvokeEntrypoint() local
53 HandleUncaughtException(exception); in InvokeEntrypoint()
Dexceptions.cpp202 NO_ADDRESS_SANITIZE void FindCatchBlockInCFrames([[maybe_unused]] ObjectHeader *exception, in FindCatchBlockInCFrames() argument
208 NO_ADDRESS_SANITIZE void FindCatchBlockInCallStack(ObjectHeader *exception) in FindCatchBlockInCallStack() argument
225 FindCatchBlockInCFrames(exception, &stack, orig_frame); in FindCatchBlockInCallStack()
/ark/runtime_core/runtime/include/
Dexceptions.h73 void FindCatchBlockInCallStack(ObjectHeader *exception);
75 void FindCatchBlockInCFrames(ObjectHeader *exception, StackWalker *stack, Frame *orig_frame);
/ark/runtime_core/runtime/tests/
Dinterpreter_test.cpp172 ObjectHeader *exception = ObjectHeader::Create(cls); in CreateException() local
173 return exception; in CreateException()
758 ObjectHeader *exception = CreateException(thread); in TestBinOp2() local
761 thread->SetException(exception); in TestBinOp2()
771 ASSERT_EQ(f->GetAcc().GetReference(), exception) << ss.str(); in TestBinOp2()
930 ObjectHeader *exception = CreateException(thread); in TestBinOp() local
933 thread->SetException(exception); in TestBinOp()
943 ASSERT_EQ(f->GetAcc().GetReference(), exception); in TestBinOp()
1040 ObjectHeader *exception = CreateException(thread); in TestBinOpImm() local
1043 thread->SetException(exception); in TestBinOpImm()
[all …]
/ark/runtime_core/verification/absint/
Dabsint.cpp216 const auto *exception = exc_handler.CachedException; in VerifyMethod() local
222 << (exception == nullptr ? PandaString {""} in VerifyMethod()
223 … : PandaString {", for exception '"} + exception->GetName() + "' ") in VerifyMethod()
231 if (exception != nullptr) { in VerifyMethod()
/ark/js_runtime/ecmascript/tooling/
Dprotocol_handler.cpp75 auto exception = DebuggerApi::GetAndClearException(vm_); in ProcessCommand() local
77 DebuggerApi::SetException(vm_, exception); in ProcessCommand()
/ark/js_runtime/ecmascript/builtins/
Dbuiltins_generator.cpp89 JSHandle<JSTaggedValue> exception = GetCallArg(argv, 0); in GeneratorPrototypeThrow() local
92 factory->NewCompletionRecord(CompletionRecordType::THROW, exception); in GeneratorPrototypeThrow()
/ark/js_runtime/ecmascript/tooling/backend/
Ddebugger_api.cpp139 auto exception = ecmaVm->GetJSThread()->GetException(); in GetAndClearException() local
140 JSHandle<JSTaggedValue> handledException(ecmaVm->GetJSThread(), exception); in GetAndClearException()
145 void DebuggerApi::SetException(const EcmaVM *ecmaVm, Local<JSValueRef> exception) in SetException() argument
147 ecmaVm->GetJSThread()->SetException(JSNApiHelper::ToJSTaggedValue(*exception)); in SetException()
Ddebugger_executor.cpp127 Local<JSValueRef> exception = Exception::ReferenceError(vm, msg); in ThrowException() local
128 JSNApi::ThrowException(vm, exception); in ThrowException()
/ark/ts2abc/ts2panda/src/
DcompilerUtils.ts61 let exception = pandaGen.getTemp();
178 pandaGen.storeAccumulator(arr, exception);
180 pandaGen.loadAccumulator(arr, exception);
189 pandaGen.freeTemps(iter, nextMethod, iterDone, iterValue, nextResult, exception);
/ark/js_runtime/ecmascript/
Djs_plural_rules.cpp267 JSHandle<JSTaggedValue> exception(thread, JSTaggedValue::Exception()); in FormatNumericToString() local
268 …OW_RANGE_ERROR_AND_RETURN(thread, "invalid resolve number", JSHandle<EcmaString>::Cast(exception)); in FormatNumericToString()
273 JSHandle<JSTaggedValue> exception(thread, JSTaggedValue::Exception()); in FormatNumericToString() local
274 …OW_RANGE_ERROR_AND_RETURN(thread, "invalid resolve number", JSHandle<EcmaString>::Cast(exception)); in FormatNumericToString()
/ark/runtime_core/tests/verifier-tests/
Dcflow_jump_on_exc_handler_from_body.pa15 # jump on exception handler with ordinary jump
Dbug_3228.pa29 ldai 2 # Unexpected exception, test failed
/ark/runtime_core/tests/cts-assembly/
Dexceptions-04.pa22 # check exception from ctor
Dinitobj-bad-02.pa33 ldai 2 # Unexpected exception, test failed

123