summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test.cc
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2017-12-08 16:21:25 +0000
committerDavid Srbecky <dsrbecky@google.com>2018-01-04 17:08:50 +0000
commitec2cdf4286921131a5f9b3ed12060657ec40f636 (patch)
tree32f15162b6b74ed247e75eeb9b9cbe936760eca5 /compiler/optimizing/codegen_test.cc
parentee58c02b5959944a2db198a2d58355651ed29d53 (diff)
Try to mmap vdex file within the address range of the ELF file.
Add ELF section for the vdex file and mmap it there at runtime. This ensures that the data is at predictable location, which is needed to be able to reference it from native debug-info. This does not change the amount of memory allocated, or the location of the data on disk. However, it does change how the memory is allocated - it replaces two allocations (ELF and vdex) by just one (ELF which includes the vdex). Bug: 71579677 Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: Ie2abd36c8b6617a527368e71f932998bbe5ad38c
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
0 files changed, 0 insertions, 0 deletions