summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2015-05-13 19:06:30 +0100
committerVladimir Marko <vmarko@google.com>2015-05-14 13:34:08 +0100
commit3fc9903407c6e89ffbbc92ded9e272d9de58e9b6 (patch)
treeae8898200f09c4015ecc7d920711dd1053834e94 /compiler/optimizing/graph_visualizer.cc
parentc3912c8a2db109a15603554fd456f56cd0a69ad0 (diff)
ART: Do not relocate app program headers in patchoat.
Change the check whether to relocate program headers in patchoat to simply look whether there is a PT_LOAD section with p_vaddr == 0. If there is, don't relocate the headers, it should be an app. Otherwise, it's a boot image and needs to be relocated. Add overflow checking to ElfFileImpl<>::GetLoadedSize(). Bug: 21047854 Change-Id: Ie6737f338687296b6dbf4bb3b36358501dfb1587
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions