summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_test.cc
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2023-09-22 16:26:14 +0100
committer Jiakai Zhang <jiakaiz@google.com> 2023-09-25 10:51:21 +0000
commitc85391cc8ebc1e4da1712b5d905c857767afc3bd (patch)
treec3c79c012f68f5a402922e52ace1646a624b2d28 /compiler/optimizing/stack_map_test.cc
parent1f45e6fab1cb64639eb00c53cc7ab68d76cb6bde (diff)
Reject partially invalid profiles.
If a profile has both valid checksums (i.e. of DEX files actually in the APK) and invalid ones, it should be considered an invalid profile. Bug: 282901123 Test: m test-art-host-gtest-art_libprofile_tests Test: - 1. Construct a partially invalid profile. 2. Prepare a device that has commit 9726215cf077737e02b998201809a06839a46014 (internal only) and this commit. 3. Install the APK and the profile using `adb install-multiple`. 4. See the command failing. Change-Id: Ic5830b3f2c1b2c7a9030195527a9e0a63691f98a
Diffstat (limited to 'compiler/optimizing/stack_map_test.cc')
0 files changed, 0 insertions, 0 deletions