DavidSpickett added a comment. Turns out the fix for our issue was in lld I've put it up for review https://reviews.llvm.org/D129363. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D123435/new/ https://reviews.llvm.org/D123435