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

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 00:44:01 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) {}
----------------
mstorsjo wrote:

This constructor takes an `int64_t`, while the `value` field actually is an `uint64_t`. Is this intended?

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


More information about the llvm-commits mailing list