diff --git a/lldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp b/lldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp --- a/lldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp +++ b/lldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp @@ -325,8 +325,9 @@ sizeof(fpreg::fbsd_reg))) TEST(RegisterContextFreeBSDTest, arm64) { + Flags opt_regsets; ArchSpec arch{"aarch64-unknown-freebsd"}; - RegisterInfoPOSIX_arm64 reg_ctx{arch}; + RegisterInfoPOSIX_arm64 reg_ctx{arch, opt_regsets}; EXPECT_GPR_ARM64(x0, x[0]); EXPECT_GPR_ARM64(x1, x[1]);