OSDN Git Service

Use per character suffix for multi image
authorMathieu Chartier <mathieuc@google.com>
Wed, 9 Mar 2016 00:50:20 +0000 (16:50 -0800)
committerMathieu Chartier <mathieuc@google.com>
Wed, 9 Mar 2016 02:54:43 +0000 (18:54 -0800)
commit05752398db7f25d7892b62cb39615eee468f1db8
treecf11f303440a25ab7e7f07cfdc6d113e2bd16c2e
parent35fd969d663f8f89ecdbdb14e52e4f03e37d3f86
Use per character suffix for multi image

E.g. if you pull the oat files from the device, you get oat files
with the following names:
system@framework@boot.art

But the name stored in the image header is:
boot.art

So we need to append system@framework@ as a file name prefix to each
image file to get the actual one.

Required for adding oatdump support for app images.

Bug: 22858531
Bug: 27408512

Change-Id: I93dd3f16652400f232e6175670fcd572395879e0
runtime/gc/space/image_space.cc