[Lldb-commits] [PATCH] D150032: [lldb, NetBSD] getValue => operator* for Optional migration

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat May 6 21:13:47 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe5f0f1d3ee95: [lldb] [NetBSD] getValue => operator* for Optional migration (authored by nikicoon, committed by mgorny).
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150032/new/

https://reviews.llvm.org/D150032

Files:
  lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp


Index: lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
===================================================================
--- lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
+++ lldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
@@ -409,7 +409,7 @@
     return error;
   }
 
-  RegSetKind set = opt_set.getValue();
+  RegSetKind set = *opt_set;
   error = ReadRegisterSet(set);
   if (error.Fail())
     return error;
@@ -476,7 +476,7 @@
     return error;
   }
 
-  RegSetKind set = opt_set.getValue();
+  RegSetKind set = *opt_set;
   uint64_t new_xstate_bv = 0;
 
   error = ReadRegisterSet(set);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150032.520144.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230507/2091ea83/attachment.bin>


More information about the lldb-commits mailing list