[lld] [LLD][COFF] Add support for including native ARM64 objects in ARM64EC images (PR #137653)

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Wed May 14 14:20:42 PDT 2025


================
@@ -657,7 +656,7 @@ void LinkerDriver::setMachine(MachineTypes machine) {
 
   ctx.config.machine = machine;
 
-  if (machine != ARM64X) {
+  if (!isArm64EC(machine)) {
     ctx.symtab.machine = machine;
   } else {
     ctx.symtab.machine = ARM64EC;
----------------
cjacek wrote:

I added a comment, thanks for review!

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


More information about the llvm-commits mailing list