[Lldb-commits] [lldb] [LLDB][ELF] Fix section unification to not just use names. (PR #90099)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 26 07:48:43 PDT 2024


labath wrote:

> > Can we add a test for this with obj2yaml?
> 
> Not sure what you're thinking here. We can't use `yaml2obj` to generate an object with this problem because that tool assumes symbols are in a uniquely named section 

[this](https://github.com/llvm/llvm-project/blob/main/llvm/test/tools/yaml2obj/ELF/duplicate-section-names.yaml) test seems to indicate that's possible (the trick appears to me in `(n)` name tag suffixes). Can you give that a shot?


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


More information about the lldb-commits mailing list