aokblast wrote: > Can you add a unittest to demonstrate the use case? Here’s a complete use case aimed at eliminating the readobj duplication error. I can still add a unit test for this if needed. See: https://github.com/llvm/llvm-project/pull/191708 https://github.com/llvm/llvm-project/pull/191706