This codepath hadn't been exercised in a build with asserts before.
Differential Revision: https://reviews.llvm.org/D109778
static RegisterInfoInterface *
CreateRegisterInfoInterface(const ArchSpec &target_arch) {
- assert((HostInfo::GetArchitecture().GetAddressByteSize() == 8) &&
- "Register setting path assumes this is a 64-bit host");
+ assert((HostInfo::GetArchitecture().GetAddressByteSize() == 4) &&
+ "Register setting path assumes this is a 32-bit host");
return new RegisterInfoPOSIX_arm(target_arch);
}