summaryrefslogtreecommitdiff
path: root/runtime/quick_exception_handler.cc
diff options
context:
space:
mode:
author Christopher Ferris <cferris@google.com> 2024-07-26 14:08:07 -0700
committer Christopher Ferris <cferris@google.com> 2024-07-29 16:54:50 +0000
commit28a8166319b488f637099eb5823e0b570a285ca3 (patch)
tree5d127461ef15f58604c1ff2560f452c8d50b3a51 /runtime/quick_exception_handler.cc
parent6979528e6e74677ca39932ce2712cce8e5ca32c2 (diff)
Use the guaranteed to work page size function.
The MemMap::GetPageSize() function returns zero when ART_PAGE_SIZE_AGNOSTIC is set until the MemMap::Init() function is called. Since this code doesn't want to deal with this potential problem, call the slow version since it will be cached any way. Add a CHECK to make sure the page_size will never be zero. Includes alphabetized by code formatter. Test: Test on a x86_64 elf file that has a .gnu_debugdata section. Test: Before, ran forever, after the data is uncompressed properly. Change-Id: Iae5cf2fe357c8008ad9d8c92457cd077f4d5f6fe
Diffstat (limited to 'runtime/quick_exception_handler.cc')
0 files changed, 0 insertions, 0 deletions