[Lldb-commits] [lldb] 502c246 - [LLDB] Change getValue to value in NativeRegisterContextFreeBSD_x86_64.cpp
Krzysztof Parzyszek via lldb-commits
lldb-commits at lists.llvm.org
Sat Nov 26 06:39:55 PST 2022
Author: Krzysztof Parzyszek
Date: 2022-11-26T08:38:54-06:00
New Revision: 502c246519ec7462450e0b05465063d190cadcb5
URL: https://github.com/llvm/llvm-project/commit/502c246519ec7462450e0b05465063d190cadcb5
DIFF: https://github.com/llvm/llvm-project/commit/502c246519ec7462450e0b05465063d190cadcb5.diff
LOG: [LLDB] Change getValue to value in NativeRegisterContextFreeBSD_x86_64.cpp
Optional::getValue has been removed.
Added:
Modified:
lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp
index b69cfa7d5d837..5910980a889e9 100644
--- a/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp
+++ b/lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_x86_64.cpp
@@ -434,7 +434,7 @@ NativeRegisterContextFreeBSD_x86_64::ReadRegister(const RegisterInfo *reg_info,
return error;
}
- RegSetKind set = opt_set.getValue();
+ RegSetKind set = opt_set.value();
error = ReadRegisterSet(set);
if (error.Fail())
return error;
@@ -500,7 +500,7 @@ Status NativeRegisterContextFreeBSD_x86_64::WriteRegister(
return error;
}
- RegSetKind set = opt_set.getValue();
+ RegSetKind set = opt_set.value();
error = ReadRegisterSet(set);
if (error.Fail())
return error;
More information about the lldb-commits
mailing list