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

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 23 04:56:12 PST 2024


================
@@ -126,6 +129,17 @@ Status MinidumpFileBuilder::AddDirectory(StreamType type,
   return error;
 }
 
+Status MinidumpFileBuilder::AddLLDBGeneratedStream() {
+  Status error;
+  StreamType type = StreamType::LLDBGenerated;
----------------
labath wrote:

```suggestion
  llvm::support::ulittle32_t type = StreamType::LLDBGenerated;
```
.. for the same reason. (You may need to add some static_casts to get the initialization to compile)

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


More information about the llvm-commits mailing list