[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
Mon May 12 07:15:02 PDT 2025
================
@@ -657,7 +656,7 @@ void LinkerDriver::setMachine(MachineTypes machine) {
ctx.config.machine = machine;
- if (machine != ARM64X) {
+ if (!isArm64EC(machine)) {
----------------
cjacek wrote:
Yes, that’s right, this is the core part of the change; the rest of the patch updates various components to handle it properly. The extra `(EC symbol)` annotation doesn’t add much value when there’s only a single symbol table, but it becomes quite useful with this PR. If someone accidentally passes a native object file, error messages that include `(native symbol)` should make the issue easy to diagnose.
https://github.com/llvm/llvm-project/pull/137653
More information about the llvm-commits
mailing list