[Lldb-commits] [lldb] [lldb] Add utility to create Mach-O corefile from YAML desc (PR #153911)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 5 15:51:24 PDT 2025


jasonmolenda wrote:

Thanks.  I've asked someone with access to a Windows system to help me understand if this is an issue with my new yaml2macho-core utility (producing incorrect corefiles) or a problem with lldb on Windows reading (32-bit?) mach-o corefiles, I'll hold off on tweaking this any further for now.  If it's yaml2macho-core, the first thing I wonder is if I need add `b` to the fopen argument in `FILE *f = fopen(OutputFilename.c_str(), "w");` to indicate that binary is being written.  That's a no-op on unix systems but it might be relevant on Windows idk.

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


More information about the lldb-commits mailing list