diff options
| author | 2024-07-26 14:08:07 -0700 | |
|---|---|---|
| committer | 2024-07-29 16:54:50 +0000 | |
| commit | 28a8166319b488f637099eb5823e0b570a285ca3 (patch) | |
| tree | 5d127461ef15f58604c1ff2560f452c8d50b3a51 /runtime/quick_exception_handler.cc | |
| parent | 6979528e6e74677ca39932ce2712cce8e5ca32c2 (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