[Lldb-commits] [PATCH] D109778: [lldb] [Windows] Fix an incorrect assert in NativeRegisterContextWindows_arm
Martin Storsjö via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 15 05:04:13 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb4133a21cef4: [lldb] [Windows] Fix an incorrect assert in NativeRegisterContextWindows_arm (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109778/new/
https://reviews.llvm.org/D109778
Files:
lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm.cpp
Index: lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm.cpp
===================================================================
--- lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm.cpp
+++ lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm.cpp
@@ -80,8 +80,8 @@
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);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109778.372681.patch
Type: text/x-patch
Size: 760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210915/222ae0cf/attachment.bin>
More information about the lldb-commits
mailing list