From 041993f9c22b138e6fd9b5aa15dc6d602200fb6b Mon Sep 17 00:00:00 2001 From: Vyacheslav Egorov Date: Wed, 10 Jun 2020 10:18:37 +0000 Subject: [PATCH] [vm] Exclude class name from function name in instruction sizes json. Issue https://github.com/dart-lang/sdk/issues/41249 Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-try,pkg-win-release-try,pkg-mac-release-try Change-Id: Idf2bb9c9d6392c7a95aa09a2cc1f2190adcf782d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150522 Commit-Queue: Vyacheslav Egorov Reviewed-by: Alexander Markov --- disassembler.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/disassembler.cc b/disassembler.cc index 8af6086c2453..522e50528518 100644 --- a/disassembler.cc +++ b/disassembler.cc @@ -417,10 +417,11 @@ void Disassembler::DisassembleCodeHelper(const char* function_fullname, } else if (function.IsNull()) { cls ^= code.owner(); if (cls.IsNull()) { - THR_Print(" 0x%" Px ": %s, (%s)%s\n", base + offset, - code.QualifiedName(Object::kScrubbedName, - Object::NameDisambiguation::kYes), - skind, s_entry_point); + THR_Print( + " 0x%" Px ": %s, (%s)%s\n", base + offset, + code.QualifiedName(NameFormattingParams( + Object::kScrubbedName, Object::NameDisambiguation::kYes)), + skind, s_entry_point); } else { THR_Print(" 0x%" Px ": allocation stub for %s, (%s)%s\n", base + offset, cls.ToCString(), skind, s_entry_point);