summaryrefslogtreecommitdiff
path: root/lldb/source
diff options
context:
space:
mode:
authorNikita Ronja Gillmann <nikita@NetBSD.org>2023-05-06 12:36:55 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-07 06:12:19 +0200
commite5f0f1d3ee9589caec4e3859a4e57d6ece473dbe (patch)
tree0be47385c72220c94c4d0e961dbaa16403d291cd /lldb/source
parent68697ac2748a0c5b04f1d3ba763c8acef494c3b8 (diff)
downloadllvm-e5f0f1d3ee9589caec4e3859a4e57d6ece473dbe.tar.gz
[lldb] [NetBSD] getValue => operator* for Optional migration
Differential Revision: https://reviews.llvm.org/D150032
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp b/lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
index b8de5f084883..13607bd261d4 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);