[lld] [LLD][COFF] Add support for range extension thunks for ARM64EC targets. (PR #106289)

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 15:20:52 PDT 2024


================
@@ -617,18 +617,19 @@ class RangeExtensionThunkARM : public NonSectionCodeChunk {
 
 class RangeExtensionThunkARM64 : public NonSectionCodeChunk {
 public:
-  explicit RangeExtensionThunkARM64(COFFLinkerContext &ctx, Defined *t)
-      : target(t), ctx(ctx) {
+  explicit RangeExtensionThunkARM64(MachineTypes machine, Defined *t)
+      : target(t), machine(machine) {
----------------
cjacek wrote:

I added a comment, but skipped formulating it as a 'contrary'. I plan to do a similar thing to import thunks and some *ARM64 chunks from DLL.cpp.

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


More information about the llvm-commits mailing list