clayborg wrote:

> I'm a bit confused as to how we have a core file but also things are moved in 
> memory.
> 
> Can you give an explanation of how this occurs? Please add it to the PR 
> description.

Will do.

> Also, tests? (which is partly why I ask how this occurs)

Tests are hard to create as we don't have a custom way to create ELF core files 
and obj2yaml and yaml2obj don't work for ELF files that have program header 
data only. Core files contain program headers with data only in the file, so we 
can't take an existing core file and obj2yaml it and then remove parts of it 
because the resulting file will be missing all of the program header data. If 
anyone has a solution as to how to hand craft a ELF core file using YAML please 
let me know and I will make another PR to test this.


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

Reply via email to