OSDN Git Service

Visit IMT of all classes during image writing
authorMathieu Chartier <mathieuc@google.com>
Mon, 16 May 2016 21:58:01 +0000 (14:58 -0700)
committerMathieu Chartier <mathieuc@google.com>
Mon, 16 May 2016 23:46:12 +0000 (16:46 -0700)
commit54689b7d5568dcf01ff42d69435d0af7ae4e4d8e
treef72b6beecc50ba348a592d3d0441d118f5e128ab
parent04f511b82dd06e91b443e17b1654f5d0e14473d8
Visit IMT of all classes during image writing

We still need to visit the IMT for classes that does not have any
methods. It is required to visit the IMT of every class to assign
image offsets for the conflict table methods.

Added regression test.

Bug: 28707801
Change-Id: I1cd21f20e1e3c606ecfe8cbabe1045cadd86f268
compiler/image_writer.cc
test/976-conflict-no-methods/expected.txt [new file with mode: 0644]
test/976-conflict-no-methods/info.txt [new file with mode: 0644]
test/976-conflict-no-methods/smali/Iface.smali [new file with mode: 0644]
test/976-conflict-no-methods/smali/Main.smali [new file with mode: 0644]
test/976-conflict-no-methods/smali/NoMethods.smali [new file with mode: 0644]