Home
last modified time | relevance | path

Searched refs:GetLineNumFromBytecodeOffset (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
Dets_method_test.cpp267 TEST_F(EtsMethodTest, GetLineNumFromBytecodeOffset) in TEST_F() argument
286 ASSERT_EQ(fooMethod->GetLineNumFromBytecodeOffset(0U), 5_I); in TEST_F()
287 ASSERT_EQ(fooMethod->GetLineNumFromBytecodeOffset(1U), 5_I); in TEST_F()
289 ASSERT_EQ(fooMethod->GetLineNumFromBytecodeOffset(2U), 6_I); in TEST_F()
290 ASSERT_EQ(fooMethod->GetLineNumFromBytecodeOffset(3U), 6_I); in TEST_F()
291 ASSERT_EQ(fooMethod->GetLineNumFromBytecodeOffset(4U), 6_I); in TEST_F()
292 ASSERT_EQ(fooMethod->GetLineNumFromBytecodeOffset(5U), 6_I); in TEST_F()
293 ASSERT_EQ(fooMethod->GetLineNumFromBytecodeOffset(6U), 6_I); in TEST_F()
295 ASSERT_EQ(fooMethod->GetLineNumFromBytecodeOffset(7U), 7_I); in TEST_F()
296 ASSERT_EQ(fooMethod->GetLineNumFromBytecodeOffset(8U), 7_I); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tests/
Dmethod_test.cpp107 …ASSERT_EQ(method->GetLineNumFromBytecodeOffset(offsets[i]), lines[i]) << "do not match on i = " <<… in VerifyLineNumber()
279 ASSERT_EQ(method->GetLineNumFromBytecodeOffset(0), 3_I); in TEST_F()
280 ASSERT_EQ(method->GetLineNumFromBytecodeOffset(2U), 4_I); in TEST_F()
281 ASSERT_EQ(method->GetLineNumFromBytecodeOffset(5U), 5_I); in TEST_F()
282 ASSERT_EQ(method->GetLineNumFromBytecodeOffset(7U), 6_I); in TEST_F()
283 ASSERT_EQ(method->GetLineNumFromBytecodeOffset(10U), 7_I); in TEST_F()
284 ASSERT_EQ(method->GetLineNumFromBytecodeOffset(14U), 8_I); in TEST_F()
286 ASSERT_EQ(method->GetLineNumFromBytecodeOffset(20U), 8_I); in TEST_F()
380 ASSERT_EQ(method->GetLineNumFromBytecodeOffset(0U), 3_I); in TEST_F()
381 ASSERT_EQ(method->GetLineNumFromBytecodeOffset(2U), 4_I); in TEST_F()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_method.h311 int32_t GetLineNumFromBytecodeOffset(uint32_t bcOffset) const in GetLineNumFromBytecodeOffset() function
321 return GetPandaMethod()->GetLineNumFromBytecodeOffset(bcOffset); in GetLineNumFromBytecodeOffset()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_StackTrace.cpp41 const auto lineNumber = method->GetLineNumFromBytecodeOffset(stack->GetBytecodePc()); in CreateStackTraceElement()
Dstd_core.cpp52 auto lineNum = method->GetLineNumFromBytecodeOffset(stack.GetBytecodePc()); in StdCoreStackTraceLines()
/arkcompiler/runtime_core/static_core/runtime/
Dmethod.cpp324 auto lineNum = GetLineNumFromBytecodeOffset(bcOffset); in GetLineNumberAndSourceFile()
450 size_t Method::GetLineNumFromBytecodeOffset(uint32_t bcOffset) const in GetLineNumFromBytecodeOffset() function in ark::Method
/arkcompiler/runtime_core/static_core/runtime/include/
Dmethod.h795 size_t GetLineNumFromBytecodeOffset(uint32_t bcOffset) const;