[Lldb-commits] [lldb] [LLDB][SBSaveCoreOptions] Add new API to expose the expected core size in bytes (PR #138169)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu May 1 15:07:44 PDT 2025


================
@@ -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


More information about the lldb-commits mailing list