[lld] [LLD][COFF] Use EC load config for ARM64X relocations of load config directory (PR #121337)

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 09:11:30 PST 2025


================
@@ -835,18 +835,30 @@ class ECExportThunkChunk : public NonSectionCodeChunk {
   Defined *target;
 };
 
+// ARM64X relocation value, potentially relative to a symbol.
+class Arm64XRelocVal {
+public:
+  Arm64XRelocVal(int64_t value = 0) : value(value) {}
----------------
cjacek wrote:

I changed argument type to `uint64_t`. Negative values are possible to delta values, but the cast may just as well happen on the call. Thanks!

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


More information about the llvm-commits mailing list