aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorJacek Caban <jacek@codeweavers.com>2025-05-15 02:38:24 -0700
committerGitHub <noreply@github.com>2025-05-15 11:38:24 +0200
commit5b0572875cafb02fc144d1f6e6e51a34ef27d951 (patch)
tree1708f52533b8b7cd9cb597cc4c5234a4e5f76d1a /clang/lib/AST/ByteCode/Compiler.cpp
parent4ba8f4e213c97733e3b61e5856b0e85e3d7d6a7f (diff)
downloadllvm-5b0572875cafb02fc144d1f6e6e51a34ef27d951.zip
llvm-5b0572875cafb02fc144d1f6e6e51a34ef27d951.tar.gz
llvm-5b0572875cafb02fc144d1f6e6e51a34ef27d951.tar.bz2
[LLD][COFF] Add support for including native ARM64 objects in ARM64EC images (#137653)
MSVC linker accepts native ARM64 object files as input with `-machine:arm64ec`, similar to `-machine:arm64x`. Its usefulness is very limited; for example, both exports and imports are not reflected in the PE structures and can't work. However, their symbol tables are otherwise functional. Since we already have handling of multiple symbol tables implemented for ARM64X, the required changes are mostly about adjusting relevant checks to account for them on the ARM64EC target. Delay-load helper handling is a bit of a shortcut. The patch never pulls it for native object files and just ensures that the code is fine with that. In general, I think it would be nice to adjust the driver to pull it only when it's actually referenced, which would allow applying the same logic to the native symbol table on ARM64EC without worrying about pulling too much.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions