[PATCH] D143541: [llvm-lib] Add support for ARM64EC libraries.
Jacek Caban via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 22 09:51:47 PDT 2023
jacek updated this revision to Diff 507404.
jacek added a comment.
I reconsidered support for inferring ARM64EC target from object files and followed MSVC lib, which requires an explicit -machine argument. This makes the patch a bit smaller. Allowing inferring machine type makes type checks much weaker and could potentially unintentionally allow users to mix x86_64 and aarch64 objects. I don't have strong opinion on this, I will restore that code if it's preferred. I also rebased the patch.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143541/new/
https://reviews.llvm.org/D143541
Files:
llvm/include/llvm/Object/ArchiveWriter.h
llvm/lib/Object/ArchiveWriter.cpp
llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
llvm/test/tools/llvm-lib/ecsymbols.test
llvm/test/tools/llvm-lib/machine-mismatch.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143541.507404.patch
Type: text/x-patch
Size: 13191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230322/dff70c36/attachment.bin>
More information about the llvm-commits
mailing list