[Lldb-commits] [lldb] e5f0f1d - [lldb] [NetBSD] getValue => operator* for Optional migration
Michał Górny via lldb-commits
lldb-commits at lists.llvm.org
Sat May 6 21:13:38 PDT 2023
Author: Nikita Ronja Gillmann
Date: 2023-05-07T06:12:19+02:00
New Revision: e5f0f1d3ee9589caec4e3859a4e57d6ece473dbe
URL: https://github.com/llvm/llvm-project/commit/e5f0f1d3ee9589caec4e3859a4e57d6ece473dbe
DIFF: https://github.com/llvm/llvm-project/commit/e5f0f1d3ee9589caec4e3859a4e57d6ece473dbe.diff
LOG: [lldb] [NetBSD] getValue => operator* for Optional migration
Differential Revision: https://reviews.llvm.org/D150032
Added:
Modified:
lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp b/lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
index b8de5f0848836..13607bd261d40 100644
--- a/lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
+++ b/lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
@@ -409,7 +409,7 @@ NativeRegisterContextNetBSD_x86_64::ReadRegister(const RegisterInfo *reg_info,
return error;
}
- RegSetKind set = opt_set.getValue();
+ RegSetKind set = *opt_set;
error = ReadRegisterSet(set);
if (error.Fail())
return error;
@@ -476,7 +476,7 @@ Status NativeRegisterContextNetBSD_x86_64::WriteRegister(
return error;
}
- RegSetKind set = opt_set.getValue();
+ RegSetKind set = *opt_set;
uint64_t new_xstate_bv = 0;
error = ReadRegisterSet(set);
More information about the lldb-commits
mailing list