From 05ed65a384242c6801e4d901db8b87ff7236cf3a Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Tue, 30 Nov 2021 10:36:13 +0000 Subject: Add std::noboolalpha to InlineInfo dumps std::boolalpha can persist in the stream, so we explicitly pass std::noboolalpha to avoid unintended boolalpha prints. Tests: ART tests Change-Id: I57e29c386868676bd19107cabfe6c313a15ce689 --- runtime/entrypoints/entrypoint_utils-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/entrypoints/entrypoint_utils-inl.h') diff --git a/runtime/entrypoints/entrypoint_utils-inl.h b/runtime/entrypoints/entrypoint_utils-inl.h index d3370afb50..b36c5c3c96 100644 --- a/runtime/entrypoints/entrypoint_utils-inl.h +++ b/runtime/entrypoints/entrypoint_utils-inl.h @@ -96,7 +96,7 @@ inline std::string GetResolvedMethodErrorString(ClassLinker* class_linker, << static_cast(outer_method->GetDexFile()) << "). MethodInfo: method_index=" << std::dec << method_index << ", is_in_bootclasspath=" << std::boolalpha - << (method_info.GetDexFileIndexKind() == MethodInfo::kKindBCP) + << (method_info.GetDexFileIndexKind() == MethodInfo::kKindBCP) << std::noboolalpha << ", dex_file_index=" << std::dec << method_info.GetDexFileIndex() << "."; return error_ss.str(); } -- cgit v1.2.3-59-g8ed1b