https://github.com/mstorsjo approved this pull request. LGTM, thanks - this looks very neat now. Sorry I somehow mixed this up in the previous review, thinking it was about dynamic relocations. https://github.com/llvm/llvm-project/pull/121500