[Lldb-commits] [PATCH] D99847: [LLDB] Fix building for aarch64 windows after d6d3d21cd1cb1567eaf7ff8c0867b07227a19d99

Martin Storsjö via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Apr 3 14:17:39 PDT 2021


mstorsjo created this revision.
mstorsjo added reviewers: labath, omjavaid.
Herald added subscribers: danielkiss, kristof.beyls.
mstorsjo requested review of this revision.
Herald added a project: LLDB.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99847

Files:
  lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.cpp


Index: lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.cpp
===================================================================
--- lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.cpp
+++ lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.cpp
@@ -98,7 +98,8 @@
 CreateRegisterInfoInterface(const ArchSpec &target_arch) {
   assert((HostInfo::GetArchitecture().GetAddressByteSize() == 8) &&
          "Register setting path assumes this is a 64-bit host");
-  return new RegisterInfoPOSIX_arm64(target_arch);
+  return new RegisterInfoPOSIX_arm64(
+      target_arch, RegisterInfoPOSIX_arm64::eRegsetMaskDefault);
 }
 
 static Status GetThreadContextHelper(lldb::thread_t thread_handle,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99847.335108.patch
Type: text/x-patch
Size: 772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210403/100851ad/attachment.bin>


More information about the lldb-commits mailing list