[Lldb-commits] [lldb] [llvm] [LLDB][Minidump] Make workaround for the Dynamic loader issue (PR #120166)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 7 14:40:45 PST 2025


================
@@ -89,8 +89,11 @@ Status MinidumpFileBuilder::AddHeaderAndCalculateDirectories() {
         "Failed to fill in header and directory "
         "sections. Written / Expected (%" PRIx64 " / %" PRIx64 ")",
         new_offset, m_saved_data_size);
-
   return error;
+  if (error.Fail())
+    return error;
----------------
Jlalond wrote:

@clayborg Got it, from the context of the conversation I thought you wanted that structure data embedded in the Corefile. 

I think that makes sense instead of using this Flag stream.

https://github.com/llvm/llvm-project/pull/120166


More information about the lldb-commits mailing list