Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Unified Diff: runtime/vm/profiler.cc

Issue 2281263002: AOT: Reassign class ids so class hierarchies have contiguous ranges. (Closed)
Patch Set: . Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/profiler.cc
diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
index d6fcec326812ab1c572fd9cb9ff18c7c12262c26..067f382e2e699357a16bf89317a9969cbf97e406 100644
--- a/runtime/vm/profiler.cc
+++ b/runtime/vm/profiler.cc
@@ -335,11 +335,9 @@ static void DumpStackFrame(intptr_t frame_index, uword pc) {
char* native_symbol_name =
NativeSymbolResolver::LookupSymbolName(pc, &start);
if (native_symbol_name == NULL) {
- OS::PrintErr("Frame[%" Pd "] = `unknown symbol` [0x%" Px "]\n",
- frame_index, pc);
+ OS::PrintErr(" [0x%" Pp "] Unknown symbol\n", pc);
} else {
- OS::PrintErr("Frame[%" Pd "] = `%s` [0x%" Px "]\n",
- frame_index, native_symbol_name, pc);
+ OS::PrintErr(" [0x%" Pp "] %s\n", pc, native_symbol_name);
NativeSymbolResolver::FreeSymbolName(native_symbol_name);
}
}
@@ -1033,7 +1031,7 @@ void Profiler::DumpStackTrace(bool native_stack_trace) {
fp,
sp);
}
- OS::PrintErr("-- End of DumpStackTrace");
+ OS::PrintErr("-- End of DumpStackTrace\n");
}

Powered by Google App Engine
This is Rietveld 408576698