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

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 17 00:41:24 PST 2024


================
@@ -45,6 +45,10 @@ llvm::ArrayRef<uint8_t> MinidumpParser::GetData() {
                                  m_data_sp->GetByteSize());
 }
 
+const llvm::minidump::Header *MinidumpParser::GetHeader() const {
+  return reinterpret_cast<llvm::minidump::Header *>(m_file.get());
----------------
labath wrote:

This looks wrong. I think you want m_file->header()

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


More information about the lldb-commits mailing list