[lld] [LLD][COFF] Implement ARM64X relocations for the exception table (PR #123723)

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 02:02:40 PST 2025


cjacek wrote:

This introduces a new mechanism to postpone setting relocation values until addresses are finalized, which is useful for data directory size fields. A similar approach will be needed for export tables.

The mechanism is based on RVAs, as they can be easily recalculated when setting the value, avoiding the need to store references (something that could be problematic in combination with sorting). Since this function will be called only twice in total (once in this PR), performance is not a concern.

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


More information about the llvm-commits mailing list