tejohnson added a comment. Seems fine to me but can you also update lld/test/ELF/lto-plugin-ignore.s to test this case? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D138065/new/ https://reviews.llvm.org/D138065