diff options
| author | David Srbecky <dsrbecky@google.com> | 2017-11-29 14:32:43 +0000 |
|---|---|---|
| committer | David Srbecky <dsrbecky@google.com> | 2017-11-29 14:57:08 +0000 |
| commit | 566865df6a6292355f061ea857f8df5dcba44ca3 (patch) | |
| tree | fa7fc14a7f959416fc20162d5ee114ce75e6146f /compiler/debug | |
| parent | aa25db7d2a6f7f507c27ce49c99a33daf3059f8f (diff) | |
| download | art-566865df6a6292355f061ea857f8df5dcba44ca3.tar.gz art-566865df6a6292355f061ea857f8df5dcba44ca3.tar.bz2 art-566865df6a6292355f061ea857f8df5dcba44ca3.zip | |
Reduce DWARF local variable error to just warning.
Test: m build-art
Change-Id: Iaeeb2a7880e6891f5a5c0a5ed554515f0bc5c716
Diffstat (limited to 'compiler/debug')
| -rw-r--r-- | compiler/debug/elf_debug_loc_writer.h | 5 |
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) { |
