summaryrefslogtreecommitdiff
path: root/runtime/stack.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2021-12-14 11:00:05 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2021-12-20 11:42:47 +0000
commit67e48ecc200bee6e4ac784c97446bb949fb20a9e (patch)
tree5be4fadca1ce8e452ecd2354b8a56a378445f9c8 /runtime/stack.cc
parent08e9f5f41cb9b99332a9f4d9d0eca2f805e94e82 (diff)
More entrypoint handling cleanup.
- Move entrypoint initialization to instrumentation class. - Move logic to know whether we should stay in the switch interpreter in the interpreter itself. Test: test.py Change-Id: I7e434ad0609b48c86ee601421d099934e8cd4d80
Diffstat (limited to 'runtime/stack.cc')
-rw-r--r--runtime/stack.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/stack.cc b/runtime/stack.cc
index 7f1f47f2bc..e0b87de2cd 100644
--- a/runtime/stack.cc
+++ b/runtime/stack.cc
@@ -682,6 +682,7 @@ static void AssertPcIsWithinQuickCode(ArtMethod* method, uintptr_t pc)
uintptr_t code_start = reinterpret_cast<uintptr_t>(code);
CHECK(code_start <= pc && pc <= (code_start + code_size))
<< method->PrettyMethod()
+ << " " << Runtime::Current()->GetInstrumentation()->EntryPointString(code)
<< " pc=" << std::hex << pc
<< " code_start=" << code_start
<< " code_size=" << code_size;