[lld] [wip][LLD] Support RISCV vendor-specific relocations. (PR #168497)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 18 19:55:36 PST 2025


https://github.com/lenary commented:

This seems clear to me what's going on (though I've implemented this once already). I would be happy to help review/maintain this code if it was landed.

One Nit below.

Do we want to make sure we never parse a relocation from a file that's more than 255? They would have had to have been made deliberately, but are possible to encode on rv64. It's the sort of error that's useful to have and remove in the future, if the abi ever gets so many relocations.



https://github.com/llvm/llvm-project/pull/168497


More information about the llvm-commits mailing list