summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2023-10-03 16:00:24 +0000
committer Mythri Alle <mythria@google.com> 2023-10-12 08:43:26 +0000
commitfeab9298ac25925d6c943b259cfb6537b123d85f (patch)
treee1c4c56962aac2d4c02977af7e0dc983d1d6fc50 /compiler/optimizing/optimizing_compiler.cc
parentee001bf5aaf5a0a5a1668c7866b94e63a5c2c9ee (diff)
Don't emit locals with empty ranges in the locals table
D8 cannot encode parameters with generic type in the header. It instead encodes a null parameter with an empty range in the header and follows it up with a START_LOCAL_EXTENDED to actually encode the parameter. ART used to emit both the null with an empty range and the actual variable. This confuses debuggers. So don't emit the parameters with empty ranges. Also extend a test to test for these cases. Bug: 297843934 Test: art/test.py -t 1911 Change-Id: Ib2e783079db298ffd842b8f373b8bad80251ba3b
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions