Fix profiling output to properly display class info.
The profiler stores class def indexes, not type ids.
Bug: 30436198
(cherry-picked from commit 58d40f3a7245e65d57a5daf6bf27c3b209260044)
Change-Id: I63524957547c5e0dbaf1d752220de8d05473638f
diff --git a/runtime/jit/offline_profiling_info.cc b/runtime/jit/offline_profiling_info.cc
index b378bed..cdbff19 100644
--- a/runtime/jit/offline_profiling_info.cc
+++ b/runtime/jit/offline_profiling_info.cc
@@ -626,7 +626,7 @@
os << "\n\tclasses: ";
for (const auto class_it : dex_data.class_set) {
if (dex_file != nullptr) {
- os << "\n\t\t" << PrettyType(class_it, *dex_file);
+ os << "\n\t\t" << dex_file->GetClassDescriptor(dex_file->GetClassDef(class_it));
} else {
os << class_it << ",";
}