summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2017-12-13 09:40:01 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-12-13 09:40:01 +0000
commitb67c20cea4deb9b42c196ec834f9fea1921dcb7b (patch)
treef33cec3640610df814653d47cfb529c2aefb3023 /compiler
parentea32413df41f5dc7d41d5870744c7ee21a8e3c5e (diff)
parent566865df6a6292355f061ea857f8df5dcba44ca3 (diff)
Merge "Reduce DWARF local variable error to just warning."
Diffstat (limited to 'compiler')
-rw-r--r--compiler/debug/elf_debug_loc_writer.h5
1 files changed, 4 insertions, 1 deletions
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) {