pranavk wrote: lld on its own should take a valid input and give valid output. If it's valid for Machine outliner to separate out ADRP and LDR in separate sections, lld ought to handle that case. https://github.com/llvm/llvm-project/pull/131630