[BOLT] Divide RegularPageSize for X86 and AArch64 cases
authorElvina Yakubova <elvinayakubova@gmail.com>
Thu, 10 Mar 2022 20:04:03 +0000 (23:04 +0300)
committerVladislav Khmelevsky <och95@yandex.ru>
Thu, 10 Mar 2022 20:09:50 +0000 (23:09 +0300)
commitdb65429db522da455dc00898cdc4b20973ca68ce
tree95b775048ef3e72bf02ce17684cfca8905b3983e
parente3dfa30501c55c4c4cb10e7554b404afa400cc08
[BOLT] Divide RegularPageSize for X86 and AArch64 cases

For AArch64 in some cases/some distributions ld uses 64K alignment of LOAD segments by default.

Reviewed By: yota9, maksfb

Differential Revision: https://reviews.llvm.org/D119267
bolt/include/bolt/Core/BinaryContext.h
bolt/lib/Core/BinaryContext.cpp