Michael137 wrote:

> @Michael137 I wasn't able to run `yaml2obj` to convert back an object file 
> that contains debug info, I'm not sure if the issue is that `yaml2obj` 
> doesn't support something that's encoded in the debug info, or some bug with 
> MachO.
> 
> This is the error:
> 
> ```
> error: wrote too much data somewhere, section offsets in section 
> __debug_str_offs__DWARF for segment __DWARF don't line up: [cursor=0x41d1e0], 
> [fileStart=0x41ccdc], [sectionOffset=0x4f2]
> ```

Hmm yea I wouldn't be surprised if `yaml2obj` doesn't properly handle this. 
Could give it a shot using ELF (I think that has better support). But if that 
doesn't work either I wouldn't bother

https://github.com/llvm/llvm-project/pull/113007
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to