diff options
author | David Srbecky <dsrbecky@google.com> | 2015-05-22 17:04:47 +0100 |
---|---|---|
committer | David Srbecky <dsrbecky@google.com> | 2015-05-27 01:44:02 +0100 |
commit | f8980875ef8fb0ce86be4ed2c0af7070f5ae9cfd (patch) | |
tree | 9750cf170ec12bbd0638c5e373a35fe832999173 /compiler/optimizing/graph_visualizer.cc | |
parent | eabafcefca8ead8309dccc1c5510e6e0845e471d (diff) |
Split .oat_patches to multiple sections.
.oat_patches section currently contains encoded patch locations for
several other sections. Split it to several sections - one for each
of the destination sections. For example, .text.oat_patches section
contains patch locations for the .text section.
This ensures that if we strip some the sections using standard
tools, we strip the corresponding .oat_patches section as well.
It also makes the overall design simpler.
I should have done it this way in the first place.
Since ApplyOatPatches has been simplified and uses unaligned memory
access, this also fixes bug 21403573.
Bug:20556771
Bug:21403573
Change-Id: Iae7c423911507b524eec500e8d61744046fcd3ba
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions