================
@@ -145,6 +145,28 @@ SaveCoreOptions::GetThreadsToSave() const {
   return thread_collection;
 }
 
+uint64_t SaveCoreOptions::GetCurrentSizeInBytes(Status &error) {
----------------
bulbazord wrote:

Suggestion: `llvm::Expected<uint64_t>`. Callers will be forced to handle the 
error instead of dropping it.

https://github.com/llvm/llvm-project/pull/138169
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to