[Lldb-commits] [PATCH] D110545: [lldb] [unittests] Fix building the FreeBSD arm64 Register Context test
Andrew Turner via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 27 08:49:03 PDT 2021
andrew updated this revision to Diff 375293.
andrew added a comment.
Set opt_regsets to eRegsetMaskDefault
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110545/new/
https://reviews.llvm.org/D110545
Files:
lldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp
Index: lldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp
===================================================================
--- lldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp
+++ lldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp
@@ -325,8 +325,9 @@
sizeof(fpreg::fbsd_reg)))
TEST(RegisterContextFreeBSDTest, arm64) {
+ Flags opt_regsets = RegisterInfoPOSIX_arm64::eRegsetMaskDefault;
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]);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110545.375293.patch
Type: text/x-patch
Size: 665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210927/2f92e0fc/attachment.bin>
More information about the lldb-commits
mailing list