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 17:38:53 +0000 (10:38 -0700)
commit488849c584337a1aae8413a1d1e0fad8043bf672
tree98ade9ccea9569c2845fe7605c42a4b6fce8d894
parent89a48396e0f0482e0ab446a1b2bd3217a51746b1
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
Change-Id: I7195314e531d0a950d495296d1e2f953e7b66659
patchoat/patchoat.cc
patchoat/patchoat.h