diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-08-05 16:09:09 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-12-12 14:19:15 -0800 |
commit | c27bc405312845bda4e25cd24e93211dfc7d7308 (patch) | |
tree | 2df693f55d1aa0fdddcf5523d60498d019f9729b /compiler/optimizing/graph_visualizer.cc | |
parent | d9fb4dd3f918abe954f7cf57e1368187e1ad4baa (diff) |
Prune uses library classes even without profile
The previous pruning relied on the classes being pruned from the
profile, and then using the profile to prune classes. If there was
no profile, the uses library classes were incorrectly left unpruned.
Leaving these classes unpruned caused aborts during compilation.
Bug: 30688277
Test: adb shell dex2oat --runtime-arg -classpath --runtime-arg /system/framework/com.google.android.maps.jar --dex-file=/data/app/comb.BBClient-1/base.apk --dex-location=/data/app/comb.BBClient-1/base.apk --oat-file=/data/app/comb.BBClient-1/oat/arm/base.odex --app-image-file=/data/app/comb.BBClient-1/oat/arm/base.art --image-format=lz4 --compiler-filter=speed
Change-Id: I261b8894847b5b0a4f7330f49666e823a1b38bb0
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions