summaryrefslogtreecommitdiff
path: root/compiler/optimizing/execution_subgraph_test.cc
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2023-05-18 16:30:38 +0100
committer Jiakai Zhang <jiakaiz@google.com> 2023-05-22 00:35:55 +0100
commit79dae4e7479889de1eabed191e6e3fd39b1c0a06 (patch)
tree31d106a3d825d2f7cd58e5b9ea30eb942d95b9b4 /compiler/optimizing/execution_subgraph_test.cc
parent821266fd404a681eae31c603de9c612016944f9a (diff)
Fix ArtDexFileLoader::GetMultiDexChecksums to handle .dex files properly
Runtime::RegisterAppInfo relies on ArtDexFileLoader::GetMultiDexChecksums to check if the input files have dex code, but that method doesn't propertly return dex_locations if the input is a .dex file. This issue caused profiles not to be written for .dex files. This CL fixes it. Bug: 282191456 Test: art/test.py -b --host -r -t 595-profile-saving Test: m test-art-host-gtest-art_libdexfile_tests (cherry picked from https://android-review.googlesource.com/q/commit:a11d08f3369f6ebd5a40c7e99499f84a6b111c53) Merged-In: Ia8597fa9c7e7c7c9a82df0708fe0867216362423 Change-Id: Ia8597fa9c7e7c7c9a82df0708fe0867216362423
Diffstat (limited to 'compiler/optimizing/execution_subgraph_test.cc')
0 files changed, 0 insertions, 0 deletions