From 3ef69b4692978daa620f2db2b1b057ef38c8a2f5 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 26 Jan 2015 10:38:34 -0800 Subject: [PATCH] ART: Take apart stream output To investigate bug. Bug: 19028453 Change-Id: Ib109caf2747f9adeef15dfc0f4708498e395dacf --- runtime/utils.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runtime/utils.cc b/runtime/utils.cc index 908cfbd27..8347b7e26 100644 --- a/runtime/utils.cc +++ b/runtime/utils.cc @@ -1228,8 +1228,9 @@ void DumpNativeStack(std::ostream& os, pid_t tid, const char* prefix, if (!it->map) { os << StringPrintf("%08" PRIxPTR " ???", it->pc); } else { - os << StringPrintf("%08" PRIxPTR " ", it->pc - it->map->start) - << it->map->name << " ("; + os << StringPrintf("%08" PRIxPTR " ", it->pc - it->map->start); + os << it->map->name; + os << " ("; if (!it->func_name.empty()) { os << it->func_name; if (it->func_offset != 0) { -- 2.11.0