diff options
author | Vladimir Marko <vmarko@google.com> | 2021-04-01 12:41:34 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2021-04-08 08:30:37 +0000 |
commit | 7e64c9503ca37dab2895c31d616a745069d65b31 (patch) | |
tree | e87261964ec2988c73702da2965e68575caa2945 /compiler/optimizing/graph_visualizer.cc | |
parent | de7c9e13a45d2f9163991d89a615ead98f2d9f29 (diff) |
Fix ProfileCompilationInfo::UpdateProfileKeys().
Correctly migrate the annotation.
Also do some cleanup. Use `std::unique_ptr<>` for `info_`.
Change the `profile_key_map_` key to `std::string_view`,
using the `DexFileData::profile_key` as backing storage.
Move `ProfileSource` definition to the .cc file. Change the
`ProfileLoadStatus` to an `enum class` and remove unused
"WouldOverwriteData". Fix an error message.
Test: ProfileCompilationInfoTest.UpdateProfileKeyOkWithAnnotation
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing --speed-profile
Bug: 148067697
Change-Id: I4e157c76b52e9c9c15f3ba34816f6b606ac4529c
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions