OSDN Git Service

Fix heap check.
authorMathieu Chartier <mathieuc@google.com>
Thu, 21 Apr 2016 17:23:16 +0000 (10:23 -0700)
committerMathieu Chartier <mathieuc@google.com>
Thu, 21 Apr 2016 19:01:48 +0000 (12:01 -0700)
commita13abbac97d38d726f9e7d5d786b571a5d37c227
treeaec05c6218144261c55dbd64f9c97f555bc5202c
parent121c8a6494f2224830ed0ca33df5af0d8c077647
Fix heap check.

Previously, we only checked the image we were patching. This did not
work if the referent was in another image. Fixed the DCHECK to check
all the boot images.

Bug: 28286961

(cherry picked from commit 488849c584337a1aae8413a1d1e0fad8043bf672)

Change-Id: If2e8e48b500935d0969e8673816d28218888bd13
patchoat/patchoat.cc
patchoat/patchoat.h