diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-02-17 18:02:40 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-02-18 17:15:42 -0800 |
commit | e8bf134734ee7de8b89e6d3e3648de6548d8e627 (patch) | |
tree | ee507d09fd111c062534643a631e66b1b769d359 /compiler/optimizing/graph_visualizer.cc | |
parent | 6a6a75305dcc3344eb51e342e84f32fce9421522 (diff) |
Don't pass in oat file name to NativeLocationInImage
We already have the oat file name stored in the relocation, using
the one passed in for the image info can cause a mismatch.
I suspect this fixes a bug repated to copied methods where there
was a oat file name mismatch. When we assign the native object
relocation for the methods of a class, we use the dex cache from
that class.
However, we use method's declaring class in NativeLocationVisitor
by using ArtMethod::GetDexCache. This could result in using the
wrong ImageInfo if the declaring class is in another image.
Change-Id: I753207f7b773fac182f84ba57c640c09f9ce911f
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions