[Lldb-commits] [lldb] [lldb] Fix loading UUIDs from ELF headers. (PR #117028)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 21 14:14:44 PST 2024


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


More information about the lldb-commits mailing list