[clang] [llvm] [clang][Driver] Pass -machine argument to the linker explicitly for ARM64EC targets. (PR #86835)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 27 10:22:17 PDT 2024


efriedma-quic wrote:

arm64x isn't really a "target" in the sense that you can build code for it.  When you're building a C file, it's either arm64, or arm64ec; it can't be "arm64x".  arm64x is just a library format that combines an arm64 library with an arm64ec library.

So I'm tempted to say we should just add a separate flag for this, instead of overloading the triple.  "-marm64x" or something like that.

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


More information about the cfe-commits mailing list