mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
lld would fail with "error: relocation out of range" if the thunk was laid out more than 128 MB away from __delayLoadHelper2. This patch changes the call sequence to load the offset into a register and call through that, allowing for 32-bit offsets. Fixes #161812
See docs/NewLLD.rst