From 566865df6a6292355f061ea857f8df5dcba44ca3 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Wed, 29 Nov 2017 14:32:43 +0000 Subject: Reduce DWARF local variable error to just warning. Test: m build-art Change-Id: Iaeeb2a7880e6891f5a5c0a5ed554515f0bc5c716 --- compiler/debug/elf_debug_loc_writer.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'compiler') diff --git a/compiler/debug/elf_debug_loc_writer.h b/compiler/debug/elf_debug_loc_writer.h index bb856b29f4..1d609af4e6 100644 --- a/compiler/debug/elf_debug_loc_writer.h +++ b/compiler/debug/elf_debug_loc_writer.h @@ -251,7 +251,10 @@ static void WriteDebugLocEntry(const MethodDebugInfo* method_info, // kInStackLargeOffset and kConstantLargeValue are hidden by GetKind(). // kInRegisterHigh and kInFpuRegisterHigh should be handled by // the special cases above and they should not occur alone. - LOG(ERROR) << "Unexpected register location kind: " << kind; + LOG(WARNING) << "Unexpected register location: " << kind + << " (This can indicate either a bug in the dexer when generating" + << " local variable information, or a bug in ART compiler." + << " Please file a bug at go/art-bug)"; break; } if (is64bitValue) { -- cgit v1.2.3-59-g8ed1b